You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/04 16:17:00 UTC
[jira] [Commented] (LOG4J2-2759) RollingFile does not roll with
createOnDemand=true
[ https://issues.apache.org/jira/browse/LOG4J2-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029961#comment-17029961 ]
ASF subversion and git services commented on LOG4J2-2759:
---------------------------------------------------------
Commit d3c5919bd6eef869e4ada2c49cbc6976d268bc5d in logging-log4j2's branch refs/heads/release-2.x from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=d3c5919 ]
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)