[ 
https://issues.apache.org/jira/browse/LOG4J2-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers resolved LOG4J2-2778.
---------------------------------
    Fix Version/s: 2.13.1
       Resolution: Duplicate

This fix for this problem was committed yesterday.

> Using header in PatternLayout with DirectWriteRolloverStrategy
> --------------------------------------------------------------
>
>                 Key: LOG4J2-2778
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2778
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.13.0
>            Reporter: Thomas H.
>            Priority: Major
>             Fix For: 2.13.1
>
>         Attachments: JavaApplication1.java, log4j2.xml
>
>
> We are using RollingFileAppender with DirectWriteRolloverStrategy and a 
> Patternlayout with header.
> If the first log file is written there is no header in it but after rollover 
> the second and the next log files contains the header.
> When I use the flag append=false then I get a Nullpointer exception when the 
> header should be written.
> I added a code example to reproduce it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to