[ https://issues.apache.org/jira/browse/LOG4J2-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ilynaf closed LOG4J2-267. ------------------------- Verified on beta 8 > FastRollingFileAppender doesn't work well with TimeBasedTriggeringPolicy > ------------------------------------------------------------------------ > > Key: LOG4J2-267 > URL: https://issues.apache.org/jira/browse/LOG4J2-267 > Project: Log4j 2 > Issue Type: Bug > Components: Appenders > Affects Versions: 2.0-beta6 > Environment: Win7 SP1 64bit + JDK 6u43 64bit > Reporter: ilynaf > Assignee: Remko Popma > Fix For: 2.0-beta8 > > Attachments: LOG4J2-267.patch > > > The below configuration file doesn't deliver correct rollover. As soon as > logging starts, the log file is rolled over with this date "1970-01-01". The > same configuration work fine with RollingFile appender. > <configuration> > <appenders> > <FastRollingFile name="LogFile" fileName="log/ui-selenium-tests.log" > append="false" > > filePattern="log/ui-selenium-tests.%d{yyyy-MM-dd}.log"> > <ThresholdFilter level="INFO" onMatch="ACCEPT" onMismatch="DENY"/> > <PatternLayout pattern="%d %p [%c.%M():%L] - %m%n"/> > <Policies> > <TimeBasedTriggeringPolicy interval="1" modulate="true"/> > </Policies> > <DefaultRolloverStrategy/> > </FastRollingFile > > </appenders> > <loggers> > <root level="TRACE"> > <appender-ref ref="LogFile"/> > </root> > </loggers> > </configuratio -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org