fix archived log name so only 1 file will be keps per day

This commit is contained in:
elroy 2017-07-07 12:11:37 +02:00
parent 659f3a9c63
commit 6d6ecb2af8
1 changed files with 1 additions and 1 deletions

View File

@ -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"/>