Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<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
languagexml
...
<root>
   <priority value="INFO"/>
...

into

Code Block
languagexml
...
 <root>
   <priority value="DEBUG"/>
...

 

The following table shows for the most relevant components what log file is available:

ComponentLog configuration
Operator ClientLog4jConfig.xml
ConfigManagerLog4jConfig-ConfigurationManager.xml
Forecasting ShellLog4jConfig-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