[
https://issues.apache.org/jira/browse/LOG4J2-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029960#comment-17029960
]
ASF subversion and git services commented on LOG4J2-2759:
---------------------------------------------------------
Commit f4c8f28763df97b0326718c4fb4a3a62d4d398fb in logging-log4j2's branch
refs/heads/master from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=f4c8f28 ]
LOG4J2-2759 - RollingFileAppender was not rolling on startup if createOnDemand
was set to true.
> RollingFile does not roll with createOnDemand=true
> --------------------------------------------------
>
> Key: LOG4J2-2759
> URL: https://issues.apache.org/jira/browse/LOG4J2-2759
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.11.2, 2.13.0
> Reporter: Kuznetsov Anton
> Assignee: Ralph Goers
> Priority: Major
> Attachments: Log4jCreateOnDemand.java
>
>
> Steps to reproduce:
> 1) Run code in attached file. It will create log file named 'Error' in
> /home/user/Temp
> with one log message
> 2) Change time on your computer to next day
> 3) Rerun code. It will add another message to the same file.
> Correct behavior:
> on step 3 log4j must create new File
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)