sparrow/src/main/resources/logback.xml

51 lines
2.3 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" />
<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-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>