mirror of https://github.com/apache/nifi.git
parent
b4d07e262f
commit
94b39036dc
|
@ -42,7 +42,7 @@
|
|||
</appender>
|
||||
|
||||
<appender name="USER_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>logs/${project.artifactId}-user.log</file>
|
||||
<file>logs/nifi-user.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<!--
|
||||
For daily rollover, use 'user_%d.log'.
|
||||
|
@ -50,7 +50,7 @@
|
|||
To GZIP rolled files, replace '.log' with '.log.gz'.
|
||||
To ZIP rolled files, replace '.log' with '.log.zip'.
|
||||
-->
|
||||
<fileNamePattern>./logs/${project.artifactId}-user_%d.log</fileNamePattern>
|
||||
<fileNamePattern>./logs/nifi-user_%d.log</fileNamePattern>
|
||||
<!-- keep 30 log files worth of history -->
|
||||
<maxHistory>30</maxHistory>
|
||||
</rollingPolicy>
|
||||
|
|
Loading…
Reference in New Issue