[Bug 86] New: Time based logfile rotation does not log, uses 1970-01-01 as date

http://bugzilla.qos.ch/show_bug.cgi?id=86 Summary: Time based logfile rotation does not log, uses 1970-01- 01 as date Product: logback-core Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: Rolling AssignedTo: logback-dev@qos.ch ReportedBy: 8625330@web.de Sometimes/Most of the time TimebasedRolling does not work. - Log files have 1970-01-01 for %d in the name. - Log files contain only one line i.e. file gets overwritten with every log statement. - restart seems to help, probably till midnight - did not happen with older versions SLF4J 1.3 and (probably) Logback 0.9.3 Used in combination with jcl-over-slf. <appender name="XXX_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender" > <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <FileNamePattern> ${XxxLogDir}/xxx.%d.log </FileNamePattern> </rollingPolicy> <layout class="ch.qos.logback.classic.PatternLayout"> <pattern> %date %-5level [%8.-8mdc{tid}][%15.15mdc{uid}] [%logger{20}] %msg%n </pattern> </layout> </appender> -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=86 ------- Comment #1 from 8625330@web.de 2007-07-11 11:26 ------- Workaround: logback 0.9.5 + slf4j 1.3.0 Later versions of logback expose the bug. (slf4j 1.3.1 does not log correctly with log4j eg hibernate.) -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=86 jncharpin@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #2 from jncharpin@qos.ch 2007-07-11 19:34 ------- *** This bug has been marked as a duplicate of bug 80 *** -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
bugzilla-daemon@pixie.qos.ch