mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-24 15:02:17 +01:00
cli: Fix log output for bitcoin-s-cli (#5664)
This commit is contained in:
parent
490e0217f1
commit
841762b841
2 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
<configuration scan="true" scanPeriod="15 seconds" >
|
||||
<!-- 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.NopStatusListener"/>
|
||||
<appender name="STDOUT" target="System.out" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%date{ISO8601,UTC}UTC %level [%logger{0}] %msg%n</pattern>
|
||||
|
|
|
@ -5,7 +5,8 @@ import java.net.ConnectException
|
|||
import scala.util.{Failure, Success}
|
||||
|
||||
object Cli extends App {
|
||||
|
||||
// see: https://github.com/qos-ch/slf4j/issues/422
|
||||
System.setProperty("slf4j.internal.verbosity", "WARN")
|
||||
import System.err.{println => printerr}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue