]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fix rollingFileAppender fileNamePattern in logback.xml 56/1456/1
authorjsimomaa <jani.simomaa@gmail.com>
Fri, 2 Feb 2018 10:50:57 +0000 (12:50 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 13 Feb 2018 20:45:07 +0000 (22:45 +0200)
refs #7740

Change-Id: Ibcc6f3b19f4d159ee75a42640f000299061ac5c9
(cherry picked from commit a4db45c33974b536813afb60c3f7f0f1a8bfc9fa)

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>