Skip to content

Commit

Permalink
Merge pull request #328 from pahnjy/develop
Browse files Browse the repository at this point in the history
Log 수정 #320
  • Loading branch information
pahnjy authored Jan 11, 2017
2 parents d9ee7a9 + 5d64349 commit e891208
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions so-web/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include resource="org/springframework/boot/logging/logback/base.xml" />
<!-- ConsoleAppender Example -->
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>[%d{yyyy-MM-dd HHmmss.SSS}] [%5level] [%16.16thread{15}] [%-35logger{35}] : %msg %n</pattern>
<!-- <pattern>%d{ISO8601} %5level [%15thread] %-35logger{35} : %msg %n</pattern> -->
</encoder>
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%msg %n</pattern>
</layout>
</appender>

<!-- RollingFileAppender Example -->
Expand All @@ -24,10 +19,15 @@
</timeBasedFileNamingAndTriggeringPolicy>
</rollingPolicy>
<encoder>
<pattern>[%d{yyyy-MM-dd HHmmss.SSS}] [%5level] [%16.16thread{15}] [%-35logger{35}] : %msg %n</pattern>
<pattern>%msg %n</pattern>
</encoder>
</appender>


<logger name="com.pineone.icbms.so" level="DEBUG">
<appender-ref ref="ROLLING" />
</logger>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>

0 comments on commit e891208

Please sign in to comment.