Fixes #925
This commit is contained in:
parent
bd89a9c6e2
commit
dcaca7e9a2
@ -5,9 +5,9 @@
|
|||||||
<appender name="CONFIG_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
<appender name="CONFIG_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||||
<file>${nacos.logging.path}/config.log</file>
|
<file>${nacos.logging.path}/config.log</file>
|
||||||
|
|
||||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
|
||||||
<fileNamePattern>${nacos.logging.path}/config.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
<fileNamePattern>${nacos.logging.path}/config.log.%i</fileNamePattern>
|
||||||
<maxHistory>${JM.LOG.RETAIN.COUNT:-7}</maxHistory>
|
<maxIndex>${JM.LOG.RETAIN.COUNT:-7}</maxIndex>
|
||||||
</rollingPolicy>
|
</rollingPolicy>
|
||||||
|
|
||||||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
||||||
@ -22,9 +22,9 @@
|
|||||||
<appender name="NAMING_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
<appender name="NAMING_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||||
<file>${nacos.logging.path}/naming.log</file>
|
<file>${nacos.logging.path}/naming.log</file>
|
||||||
|
|
||||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
|
||||||
<fileNamePattern>${nacos.logging.path}/naming.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
<fileNamePattern>${nacos.logging.path}/naming.log.%i</fileNamePattern>
|
||||||
<maxHistory>${JM.LOG.RETAIN.COUNT:-7}</maxHistory>
|
<maxIndex>${JM.LOG.RETAIN.COUNT:-7}</maxIndex>
|
||||||
</rollingPolicy>
|
</rollingPolicy>
|
||||||
|
|
||||||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
||||||
|
Loading…
Reference in New Issue
Block a user