Add thread name to log format

This commit is contained in:
Colin McDonald 2016-07-14 21:45:30 -04:00
parent fba48cf223
commit 210938644a

View File

@ -6,14 +6,14 @@
<param name="File" value="log/apiv3.log" />
<param name="DatePattern" value="'.'yyyy-MM-dd" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%p %d{yyyy-MM-dd HH:mm:ss}] %m%n"/>
<param name="ConversionPattern" value="[%p %d{yyyy-MM-dd HH:mm:ss}] [%t] %m%n"/>
</layout>
</appender>
<appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%p %d{yyyy-MM-dd HH:mm:ss}] %m%n"/>
<param name="ConversionPattern" value="[%p %d{yyyy-MM-dd HH:mm:ss}] [%t] %m%n"/>
</layout>
</appender>