The threshold parameter must be updated to the required log level in order to update the log levels of the default console appender.
Follow these steps:
<appender name="view" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="${usm.home}/logs/view.log" />
<param name="MaxFileSize" value="20MB" />
<param name="MaxBackupIndex" value="100" />
<param name="Threshold" value="INFO" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy/MM/dd HH.mm.ss.SSS} %-5p [%t] [%c{1}] %m%n" />
</layout>
</appender>
Refer to Set the log level of the service document in the Implementation Guide for more information on the threshold values.
You have updated the threshold parameter in the default console appender.
|
Copyright © 2013 CA.
All rights reserved.
|
|