...
Code Block | ||||
---|---|---|---|---|
| ||||
<appender name="defaultLogFile" class="org.apache.log4j.RollingFileAppender"> <param name="File" value="${log.file.path}"/> <param name="MaxFileSize" value="20MB"/> <!-- Keep 5 backup file --> <param name="MaxBackupIndex" value="5"/> <param name="Append" value="true"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="[%d] %p - %C{1}.%M - %m%n"/> </layout> </appender> |
How to active debug logging
Additional debug mode logging can be activated by editing the appropriate log configuration file and restarting the component.
At the bottom of each log4j configuration file alter the
Code Block | ||
---|---|---|
| ||
...
<root>
<priority value="INFO"/>
... |
into
Code Block | ||
---|---|---|
| ||
...
<root>
<priority value="DEBUG"/>
... |
The following table shows for the most relevant components what log file is available:
Component | Log configuration |
---|---|
Operator Client | Log4jConfig.xml |
ConfigManager | Log4jConfig-ConfigurationManager.xml |
Forecasting Shell | Log4jConfig-MCListener.xml, Log4jConfig-MCLogCollectorService.xml |
Master controller | Log4jConfig-FSListener.xml, Log4jConfig-MCLogCollectorService.xml, Log4jConfig-MCRestarter.xml, Log4jConfig-OCListener.xml, Log4jConfig-RemoteQueueProxy.xml, Log4jConfig-Synchronisation.xml, Log4jConfig-SystemMonitor.xml, Log4jConfig-TaskManager.xml |