sparrow/src/main/resources/logback.xml

29 lines
1,011 B
XML
Raw Normal View History

2020-04-10 13:07:21 +00:00
<configuration>
<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"/>
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>
2020-12-20 10:34:36 +00:00
<root level="debug">
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>