You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Kuznetsov Anton (Jira)" <ji...@apache.org> on 2020/02/06 14:02:00 UTC
[jira] [Closed] (LOG4J2-2759) RollingFile does not roll with
createOnDemand=true
[ https://issues.apache.org/jira/browse/LOG4J2-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kuznetsov Anton closed LOG4J2-2759.
-----------------------------------
After fix works as expected. Thank you
> 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
> Fix For: 2.13.1
>
> 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)