Permalink
Browse files

include timestamps in log.

  • Loading branch information...
1 parent ea19e55 commit e99fb958434200395143fa10c3f5e659250575ab Robert Newson committed Aug 14, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/resources/log4j.xml
@@ -7,13 +7,13 @@
<param name="MaxFileSize" value="5MB" />
<param name="Append" value="true" />
<layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%c] %p %m%n" />
+ <param name="ConversionPattern" value="%d [%c] %p %m%n" />
</layout>
</appender>
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.err" />
<layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%c] %p %m%n" />
+ <param name="ConversionPattern" value="%d [%c] %p %m%n" />
</layout>
</appender>
<root>

0 comments on commit e99fb95

Please sign in to comment.