How to log rotate Jobserver .log files

Talend Version          All versions


How to fine-tune Jobserver log rollover files.
Additional Versions  
Product Talend Data Integration
Component Jobserver
Problem Description  
Problem root cause  
Solution or Workaround

By default, the jobserver.log is already set up to roll over each time the size reaches 1000KB. This is configured in jobserver-path/agent/log4j.xml.


In this log4j.xml file, there is <appender name="A1" ...> where you can edit the default settings (see line in green):


<appender name="A1" class="org.apache.log4j.RollingFileAppender">
        <param name="File"   value="jobserver.log" />
        <param name="Append" value="true" />
        <param name="Threshold" value="info" />
        <param name="MaxFileSize" value="1000KB" />
        <param name="MaxBackupIndex" value="100" />
        <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d %-5p %c{1} - %m%n"/>
JIRA ticket number  
Version history
Revision #:
8 of 8
Last update:
‎04-14-2019 02:31 AM
Updated by: