Details
Description
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
.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
Attachments
Attachments
Issue Links
- is duplicated by
-
LOG4J2-271 FastRollingFileAppender
- Resolved