fix archived log name so only 1 file will be keps per day
This commit is contained in:
parent
659f3a9c63
commit
6d6ecb2af8
|
@ -8,7 +8,7 @@
|
|||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} [%t] %p %c{1} - %m%n"/>
|
||||
</Console>
|
||||
<RollingFile name="RollingFile" fileName="${baseDir}/GunbotProxy.log"
|
||||
filePattern="${baseDir}/$${date:yyyy-MM}/GunbotProxy-%d{yyyy-MM-dd-HHmm}.log.gz">
|
||||
filePattern="${baseDir}/$${date:yyyy-MM}/GunbotProxy-%d{yyyy-MM-dd}.log.gz">
|
||||
<PatternLayout pattern="%d %p %c{1.} [%t] %m%n"/>
|
||||
<Policies>
|
||||
<SizeBasedTriggeringPolicy size="50 MB"/>
|
||||
|
|
Loading…
Reference in New Issue