Commit 904aa2ae authored by guus's avatar guus

Include 'category' in logging statement (OF-541).

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12238 b35dd754-fafc-0310-a699-88a17e54d16e
parent 73ce6c52
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<param name="MaxFileSize" value="1024KB"/> <param name="MaxFileSize" value="1024KB"/>
<param name="MaxBackupIndex" value="5"/> <param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout"> <layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy.MM.dd HH:mm:ss} %m%n" /> <param name="ConversionPattern" value="%d{yyyy.MM.dd HH:mm:ss} %c - %m%n" />
</layout> </layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter"> <filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMax" value="debug" /> <param name="LevelMax" value="debug" />
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<param name="MaxFileSize" value="1024KB"/> <param name="MaxFileSize" value="1024KB"/>
<param name="MaxBackupIndex" value="5"/> <param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout"> <layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy.MM.dd HH:mm:ss} %m%n" /> <param name="ConversionPattern" value="%d{yyyy.MM.dd HH:mm:ss} %c - %m%n" />
</layout> </layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter"> <filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMax" value="info" /> <param name="LevelMax" value="info" />
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<param name="MaxFileSize" value="1024KB"/> <param name="MaxFileSize" value="1024KB"/>
<param name="MaxBackupIndex" value="5"/> <param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout"> <layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy.MM.dd HH:mm:ss} %m%n" /> <param name="ConversionPattern" value="%d{yyyy.MM.dd HH:mm:ss} %c - %m%n" />
</layout> </layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter"> <filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMax" value="warn" /> <param name="LevelMax" value="warn" />
...@@ -48,19 +48,20 @@ ...@@ -48,19 +48,20 @@
<param name="MaxFileSize" value="1024KB"/> <param name="MaxFileSize" value="1024KB"/>
<param name="MaxBackupIndex" value="5"/> <param name="MaxBackupIndex" value="5"/>
<layout class="org.apache.log4j.PatternLayout"> <layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy.MM.dd HH:mm:ss} %m%n" /> <param name="ConversionPattern" value="%d{yyyy.MM.dd HH:mm:ss} %c - %m%n" />
</layout> </layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter"> <filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="error" /> <param name="LevelMin" value="error" />
<param name="AcceptOnMatch" value="true" /> <param name="AcceptOnMatch" value="true" />
</filter> </filter>
</appender> </appender>
<root> <root>
<level value="info" /> <level value="info" />
<appender-ref ref="debug-out" /> <appender-ref ref="debug-out" />
<appender-ref ref="info-out" /> <appender-ref ref="info-out" />
<appender-ref ref="warn-out" /> <appender-ref ref="warn-out" />
<appender-ref ref="error-out" /> <appender-ref ref="error-out" />
</root> </root>
</log4j:configuration> </log4j:configuration>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment