SYMPTOMS
Trying to access the log file in ZyALERT produces the following message:
"Logging is not enabled."
CAUSE
The zyimage.logger.config does not contain the correct level value.
RESOLUTION
- Open the zyimage.logger.config and set the level value to DEBUG.
- Open the following file and set the level value to DEBUG.
C:\Program Files (x86)\ZyLAB\Information Management Platform\Bin\zyimage.logger.config and enable logging
</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>
- Note: enabling logging in DEBUG mode will make the logfile grow substantially. It is recommended only to do this for trouble shooting purposes.
APPLIES TO
6.2; 6.3; 6.4
Comments
0 comments
Article is closed for comments.