[
https://issues.apache.org/jira/browse/LOG4J2-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma reassigned LOG4J2-267:
----------------------------------
Assignee: Remko Popma
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]