Fix rolling log file (#4288)

This commit is contained in:
benthecarman 2022-04-25 06:53:08 -05:00 committed by GitHub
parent 95bbb06789
commit bac3cb4190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@
<appender-ref ref="STDOUT" />
</appender>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${bitcoins.log.location}/bitcoin-s.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- hourly rollover -->
@ -70,4 +70,4 @@
<!-- get rid of "Running CoordinatedShutdown Phase" messages -->
<logger name="akka.actor.slf4j.CoordinatedShutdown" level="OFF"/>
</configuration>
</configuration>

View File

@ -11,7 +11,7 @@
<appender-ref ref="STDOUT" />
</appender>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>bitcoin-s-scan-bitcoind.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- hourly rollover -->
@ -106,4 +106,4 @@
<!-- get rid of "Running CoordinatedShutdown Phase" messages -->
<logger name="akka.actor.slf4j.CoordinatedShutdown" level="OFF"/>
</configuration>
</configuration>

View File

@ -11,7 +11,7 @@
<appender-ref ref="STDOUT" />
</appender>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${bitcoins.log.location}/bitcoin-s.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- hourly rollover -->
@ -106,4 +106,4 @@
<!-- get rid of "Running CoordinatedShutdown Phase" messages -->
<logger name="akka.actor.slf4j.CoordinatedShutdown" level="OFF"/>
</configuration>
</configuration>

View File

@ -6,7 +6,7 @@
<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener"/>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>logs/application.log</file>
<encoder>
<!-- UTC ISO8601 date format -->