sparrow/src/main/resources/logback.xml

40 lines
1.4 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"/>
<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>