logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Payne <tpa...@perfectmarket.com>
Subject TimeBasedRollingPolicy with hourly filenames not rolling over at midnight
Date Fri, 17 Oct 2008 17:33:25 GMT
Here is my configuration:
     <appender name="RA"
       <param name="Append" value="true"/>
         <param name="FileNamePattern" value="__LOCAL_VAR__/logs/
       <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%d{ISO8601}\t%m%n"/>

This works fine during the day, rolling over at the top of the hour
and compressing the older file. However, at midnight, it stops rolling
over and all subsequent messages go to the last active log name. Is
there something wrong with my configuration?

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message