]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fix rollingFileAppender fileNamePattern in logback.xml 18/1418/1
authorjsimomaa <jani.simomaa@gmail.com>
Fri, 2 Feb 2018 10:50:57 +0000 (12:50 +0200)
committerjsimomaa <jani.simomaa@gmail.com>
Fri, 2 Feb 2018 10:50:57 +0000 (12:50 +0200)
refs #7740

Change-Id: Ibcc6f3b19f4d159ee75a42640f000299061ac5c9

bundles/org.simantics.logback.configuration/logback.xml

index 7f5a7081687f1818b1086c9e5e89eb5ca5db090d..e217dfa898f10f78ec4f336abcb1cb2827d0bcae 100644 (file)
@@ -12,7 +12,7 @@
   <appender name="file" class="ch.qos.logback.core.rolling.RollingFileAppender">
     <file>logs/out.log</file>
     <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
-      <fileNamePattern>out-%d{yyyy-MM-dd}.%i.log.zip</fileNamePattern>
+      <fileNamePattern>logs/out-%d{yyyy-MM-dd}.%i.log.zip</fileNamePattern>
       <maxFileSize>10MB</maxFileSize>
       <maxHistory>30</maxHistory>
       <totalSizeCap>200MB</totalSizeCap>