Skip to content

Commit

Permalink
Added thread name to logging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainer Villido authored and Rainer Villido committed Dec 10, 2015
1 parent 6d9dec9 commit ef8e977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
<File>digidoc4j.log</File>
<encoder>
<pattern>%d{dd.MM.yyyy HH:mm:ss.SSS} %-5p [%logger{36}.%method:%line] - %m%n</pattern>
<pattern>%d{dd.MM.yyyy HH:mm:ss.SSS} %-5p [%thread] [%logger{36}.%method:%line] - %m%n</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>INFO</level>
Expand All @@ -18,7 +18,7 @@
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<Target>System.out</Target>
<encoder>
<pattern>%d{dd.MM.yyyy HH:mm:ss.SSS} %-5p [%logger{36}.%method:%line] - %m%n</pattern>
<pattern>%d{dd.MM.yyyy HH:mm:ss.SSS} %-5p [%thread] [%logger{36}.%method:%line] - %m%n</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>DEBUG</level>
Expand Down

0 comments on commit ef8e977

Please sign in to comment.