[
https://issues.apache.org/jira/browse/LOG4J2-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma updated LOG4J2-572:
-------------------------------
Labels: Rollover (was: )
> FilePattern with year as date shows year+1
> ------------------------------------------
>
> Key: LOG4J2-572
> URL: https://issues.apache.org/jira/browse/LOG4J2-572
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.0-rc1
> Reporter: Steven McCoy
> Priority: Minor
> Labels: Rollover
>
> The following basic configuration is showing 2015 not 2014:
> {code:xml}
> <RollingRandomAccessFile name="File" fileName="${filename}"
> filePattern="logs/icap.log-%d{yy}.%i">
> <PatternLayout pattern="%m%n"/>
> <Policies>
> <OnStartupTriggeringPolicy />
> <TimeBasedTriggeringPolicy interval="12" modulate="true"/>
> </Policies>
> </RollingRandomAccessFile>
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]