sparrow/src/main/resources/logback.xml

69 lines
3.6 KiB
XML
Raw Normal View History

2021-03-12 16:42:59 +00:00
<configuration>
2020-04-10 13:07:21 +00:00
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />
2020-08-20 13:26:59 +00:00
<logger name="com.github.sarxos.webcam.Webcam" level="OFF"/>
<logger name="com.github.sarxos.webcam.ds.cgt.WebcamOpenTask" level="OFF"/>
<logger name="com.github.sarxos.webcam.ds.cgt.WebcamCloseTask" level="OFF"/>
2021-03-12 16:29:04 +00:00
<logger name="javafx.css" level="ERROR"/>
<logger name="javafx.scene.focus" level="INFO"/>
<logger name="sun.net.www.protocol.http.HttpURLConnection" level="INFO" />
<logger name="h2database" level="ERROR" />
<logger name="com.zaxxer.hikari.HikariDataSource" level="WARN" />
2021-06-15 14:50:05 +00:00
<logger name="com.zaxxer.hikari.pool.HikariPool" level="ERROR" />
<logger name="org.flywaydb.core.internal.command.DbValidate" level="WARN" />
<logger name="org.flywaydb.core.internal.command.DbMigrate" level="WARN" />
<logger name="org.flywaydb.core.internal.command.DbClean" level="ERROR" />
<logger name="org.flywaydb.core.internal.database.base.BaseDatabaseType" level="WARN" />
<logger name="org.flywaydb.core.internal.database.base.Schema" level="WARN" />
<logger name="org.flywaydb.core.internal.schemahistory.JdbcTableSchemaHistory" level="WARN" />
<logger name="org.flywaydb.core.internal.license.VersionPrinter" level="WARN" />
2021-08-12 15:50:13 +00:00
<logger name="org.eclipse.jetty.util.thread.ReservedThreadExecutor" level="OFF" />
<logger name="org.eclipse.jetty.util.thread.QueuedThreadPool" level="OFF" />
<logger name="org.eclipse.jetty.io.ManagedSelector" level="OFF" />
<logger name="org.eclipse.jetty.util.component.AbstractLifeCycle" level="OFF" />
<logger name="org.eclipse.jetty.io.ChannelEndPoint" level="OFF" />
<logger name="org.eclipse.jetty.io.ssl.SslConnection" level="OFF" />
<logger name="org.eclipse.jetty.client.HttpReceiver" level="OFF" />
<logger name="org.eclipse.jetty.client.TimeoutCompleteListener" level="OFF" />
<logger name="org.eclipse.jetty.client.AbstractConnectionPool" level="OFF" />
<logger name="org.eclipse.jetty.client.HttpDestination" level="OFF" />
<logger name="org.eclipse.jetty.client.HttpChannel" level="OFF" />
<logger name="org.eclipse.jetty.client.HttpExchange" level="OFF" />
<logger name="org.eclipse.jetty.client.HttpParser" level="OFF" />
<logger name="org.eclipse.jetty.http.HttpParser" level="OFF" />
<logger name="org.eclipse.jetty.util.log.Log" level="OFF" />
<logger name="org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler" level="OFF" />
<logger name="org.bitcoinj.crypto.MnemonicCode" level="OFF" />
2021-03-12 16:29:04 +00:00
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/>
2020-08-20 13:26:59 +00:00
2020-08-25 17:30:19 +00:00
<define name="appDir" class="com.sparrowwallet.drongo.PropertyDefiner">
<application>sparrow</application>
</define>
2020-08-05 07:12:06 +00:00
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
2020-08-25 17:30:19 +00:00
<file>${appDir}/sparrow.log</file>
2020-08-05 07:12:06 +00:00
<encoder>
<pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
</encoder>
</appender>
2020-04-10 13:07:21 +00:00
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date %level %msg%n</pattern>
</encoder>
</appender>
<appender name="APPLICATION_TOR" class="com.sparrowwallet.drongo.ApplicationAppender">
<callback>com.sparrowwallet.sparrow.TorLogHandler</callback>
</appender>
<logger name="org.berndpruenster.netlayer.tor" level="debug" additivity="false">
<appender-ref ref="APPLICATION_TOR" />
</logger>
<root level="info">
2020-08-05 07:12:06 +00:00
<appender-ref ref="FILE" />
2020-04-10 13:07:21 +00:00
<appender-ref ref="STDOUT" />
</root>
</configuration>