Framework2018. 11. 27. 18:05

환경 : eclipse + spring + mybatis 

<appender name="console" class="org.apache.log4j.ConsoleAppender">

<param name="Target" value="System.out" />

<layout class="org.apache.log4j.PatternLayout">

<param name="ConversionPattern" value="[%d{yyyy-MM-dd HH:mm:ss}] %-5p: %c - %m%n" />

</layout>

</appender>


[%d{yyyy-MM-dd HH:mm:ss}] 추가 

Posted by 비니미니파파