Skip to content

Commit

Permalink
modify the log file path. (#11794)
Browse files Browse the repository at this point in the history
  • Loading branch information
heihei180 authored Mar 7, 2024
1 parent 2f2fc1b commit 15fbf92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 15fbf92

Please sign in to comment.