1
0
Fork 0
mirror of https://github.com/bitcoin-s/bitcoin-s.git synced 2025-03-26 21:42:48 +01:00

Output logger configuration on startup now ()

* Output logger configuration on startup now

* Remove core-test/logback-test.xml and core/common-logback.xml, consolidate and move them into testkit/src/main/resources/logback.xml

* Add comment for logging configuration
This commit is contained in:
Chris Stewart 2020-08-13 12:36:42 -05:00 committed by GitHub
parent 47e305e1aa
commit cad3c64cda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 15 deletions
core-test/src/test/resources
testkit/src/main/resources

View file

@ -1,9 +0,0 @@
<configuration>
<include resource="common-logback.xml" />
<root level="OFF">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE"/>
</root>
</configuration>

View file

@ -1,6 +1,9 @@
<included>
<!-- Stop output INFO at start -->
<statusListener class="ch.qos.logback.core.status.NopStatusListener"/>
<configuration>
<!-- http://logback.qos.ch/manual/configuration.html#dumpingStatusData
This prints status of the logging configuration on startup
If you want to silence this output replace 'OnConsoleStatusListener'
with 'NopStatusListener' -->
<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener"/>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
@ -94,11 +97,12 @@
<!-- see what's returned by Slick -->
<logger name="slick.jdbc.StatementInvoker.result" level="INFO"/>
<!-- Get rid of messages like this:
Connection attempt failed. Backing off new connection
<!-- Get rid of messages like this:
Connection attempt failed. Backing off new connection
attempts for at least 800 milliseconds. -->
<logger name="akka.http.impl.engine.client.PoolGateway" level="OFF"/>
<!-- get rid of "Slf4jLogger started" messages -->
<logger name="akka.event.slf4j.Slf4jLogger" level="OFF"/>
</included>
</configuration>