modify the log file path. (#11794)

This commit is contained in:
heihei180 2024-03-07 13:50:32 +08:00 committed by GitHub
parent 2f2fc1b12b
commit 15fbf92b15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,10 +20,10 @@
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"/>
<appender name="PREF_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>/Users/xiweng.yy/logs/nacos/perf.log</file>
<file>${user.home}/logs/nacos/perf.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<fileNamePattern>/Users/xiweng.yy/logs/nacos/perf.log.%i</fileNamePattern>
<fileNamePattern>${user.home}/logs/nacos/perf.log.%i</fileNamePattern>
<maxIndex>${JM.LOG.RETAIN.COUNT:-7}</maxIndex>
</rollingPolicy>