Changing the cleanup cycle of the task logs
Define how often the logs of Job task runs are cleaned up from the Talend Remote Engine machine.
These logs are stored in this directory: <RemoteEngineInstallationDirectory>/TalendJobServersFiles/jobexecutions/logs/
Note that only the data integration logs are stored here. Logs for Routes and data service
tasks are only available in the Run overview in Talend Management Console.
Information noteTip: Starting with Talend Remote Engine
v2.13.7, released in R2024-09, logs for task runs are no longer duplicated in the engine
logs stored at <RemoteEngineInstallationDirectory>/data/log.
To restore the duplication, see Restore the duplication of task run logs in the engine logs.
Procedure
Results
If you need to
disable this cleanup feature, set the value of the
tasks.logs.clean.interval.days parameter to be 0, that is to
say,
tasks.logs.clean.interval.days=0
Restore the duplication of task run logs in the engine logs
To analyze task execution logs in the engine logs, configure the engine to duplicate the logs in the engine logs stored at <RemoteEngineInstallationDirectory>/data/log.
However, this approach can clutter the engine logs and cause premature archiving due to the log rotation policy.