2020-04-10 13:07:21 +00:00
|
|
|
<configuration>
|
|
|
|
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />
|
|
|
|
|
2020-08-05 07:12:06 +00:00
|
|
|
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
|
|
|
|
<file>${user.home}/.sparrow/sparrow.log</file>
|
|
|
|
<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-08-05 07:12:06 +00:00
|
|
|
<root level="info">
|
|
|
|
<appender-ref ref="FILE" />
|
2020-04-10 13:07:21 +00:00
|
|
|
<appender-ref ref="STDOUT" />
|
|
|
|
</root>
|
|
|
|
</configuration>
|