Page History
...
- The Log4j2 configuration file is the same for Controllers and Agents except for the fact that environment variables in lines 4-6 for Agents use:
<Property name="TimeZone">${env:JS7_AGENT_TZ:-Etc/UTC}</Property>
<Property name="LogDir">${env:JS7_AGENT_LOGS:-logs}</Property>
<Property name="LogBasename">${env:JS7_AGENT_APPNAME:-agent}</Property>
- To modify the time zone that is applied to log entries and the point in time when log rotation occurs, modify
<Property name="TimeZone">Etc/UTC</Property>
. The time zone is specified by the Controller and Agent start scripts that set the environment variablesJS7_CONTROLLER_TZ
andJS7_AGENT_TZ
respectively from the time zone reported by the operating system. - To enable the debug mode, change the
<property name="RootLogLevel">INFO</property>
and<property name="LogLevelOfDebugLog">OFF</property>
toDEBUG.
- To change the log retention period, modify
<Property name="RetainDays">30d</Property>
to some other value. Note the use of the suffixesd
(ays),w
(eeks),m
(onths). - To limit the max. size of individual log files, modify
<Property name="MaxSizePerFile">100MB</Property>
to some other value. Note the use of the unitsMB
,GB
. - To limit the storage consumption of all log files, modify
<Property name="MaxSizeOfRolledOverFiles">5GB</Property>
to some other value. Note the use of the unitsMB
,GB
.
...
- To change the time zone that is applied to log entries and to the point in time of log rotation, modify the
<Property name="TimeZone">Etc/UTC</Property>
. The time zone is determined by the operating system during installation. - To change the log retention period, modify
<Property name="RetainDays">30d</Property>
to some other value. Note the use of the suffixesd
(ays),w
(eeks),m
(onths). - To limit storage consumption of all log files, modify
<Property name="MaxSizeOfRolledOverFiles">5 GB</Property>
to some other value. Note the use of the unitsMB
,GB
. - To limit the max. size of individual log files ,modify
<Property name="MaxSizePerFile">100 MB</Property>
to some other value. Note the use of the unitsMB
,GB
. - To enable the debug mode, change the
<property name="RootLogLevel">INFO</property>
toDEBUG
. In addition, modify the value of one or more of the following properties to enable debug output with the respective debug log file:Debug Log File Property joc-debug.log
<Property name="JocLogLevel">DEBUG</Property>
service-cluster-debug.log
<Property name="ServieClusterLogLevel">DEBUG</Property>
service-history-debug.log
<Property name="ServieHistoryLogLevel">DEBUG</Property>
service-dailyplan-debug.log
<Property name="ServiceDailyPlanLogLevel">DEBUG</Property>
service-cleanup-debug.log
<Property name="ServiceCleanupLogLevel">DEBUG</Property>
service-monitor-debug.log
<Property name="ServiceMonitorLogLevel">DEBUG</Property>
authentication-debug.log
<Property name="AuthLogLevel">DEBUG</Property>
connection-pool-debug.log
<Property name="ConnectionPoolLogLevel">DEBUG</Property>
...
Overview
Content Tools