SYMPTOMS
In some case you need to enable logging to trouble shoot certain issues. This article explains how to set logging for the Information Management Platform. Take into account that enabling logging will result into larger logfiles.
CAUSE
Not applicable.
RESOLUTION
Open zyimage.logger.config (which can be found on C:\Program Files (x86)\ZyLAB\Information Management Platform\Bin\) and set the level value to DEBUG.
Static Level DEBUG
The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
Static Level INFO
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
Static Level WARN
The WARN level designates potentially harmful situations.
Static Level ERROR
The ERROR level designates error events that might still allow the application to continue running.
Static Level FATAL
The FATAL level designates very severe error events that will presumably lead the application to abort.
Static Level ALL
The ALL Level has the lowest possible rank and is intended to turn on all logging.
Static Level OFF
The OFF Level has the highest possible rank and is intended to turn off logging.
An alternative option is to set the logging by adding <level value="DEBUG"/> under the appender-ref line in the configuration file:
</logger>
<appender name="ZyProfileServer" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="${ALLUSERSPROFILE}\\ZyLAB\\ZyProfileServer.log"/>
<param name="MaxBackupIndex" value="10"/>
<param name="MaxFileSize" value="10MB"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
</layout>
</appender>
<logger name="ZyProfileServer">
<appender-ref ref="ZyProfileServer" />
<level value="DEBUG"/>
</logger>
APPLIES TO
6.2 Service Pack 1; 6.2 Service Pack 2; 6.3; 6.4; 6.4 Service Pack 1
Comments
0 comments
Article is closed for comments.