[ 
https://issues.apache.org/jira/browse/LOG4J2-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187080#comment-15187080
 ] 

Daniel Stuckert commented on LOG4J2-916:
----------------------------------------

Sorry I don't have an updated version. We are not using log4j2 at the momentan, 
so I had no need to fix the issue for a newer version.

> Logfile contains information written before last rollover
> ---------------------------------------------------------
>
>                 Key: LOG4J2-916
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-916
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>            Reporter: Daniel Stuckert
>            Priority: Minor
>         Attachments: LOG4J2_916.diff
>
>
> When using a RollingFileAppender with the option append = false the contents 
> of the logfile is not cleared.
> New information is written to the beginning of the file and overwrites all 
> information that was written before the last rollover. If the previous file 
> is larger than the current file, information will be kept.
> The file should be cleared/deleted after rollover when the option "append" is 
> set to false.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to