Skip to content

Commit

Permalink
Logging conf
Browse files Browse the repository at this point in the history
  • Loading branch information
abrighton authored and abrighton committed Mar 21, 2020
1 parent 59c6512 commit be9e822
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions icd-db/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<configuration>

<!-- Stop output INFO at start -->
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
Expand All @@ -10,6 +13,4 @@
<appender-ref ref="STDOUT" />
</root>

<logger name="ch.qos.logback.classic.joran" level="WARN" />

</configuration>
4 changes: 3 additions & 1 deletion icd-web-server/conf/logback.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- https://www.playframework.com/documentation/latest/SettingsLogger -->
<configuration>

<!-- Stop output INFO at start -->
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />

<conversionRule conversionWord="coloredLevel" converterClass="play.api.libs.logback.ColoredLevel" />

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
Expand All @@ -18,7 +21,6 @@

<!-- Off these ones as they are annoying, and anyway we manage configuration ourselves -->
<logger name="com.gargoylesoftware.htmlunit.javascript" level="OFF" />
<logger name="ch.qos.logback.classic.joran" level="WARN" />

<root level="INFO">
<appender-ref ref="ASYNCSTDOUT" />
Expand Down

0 comments on commit be9e822

Please sign in to comment.