Re: [Log4j2] RollingFileAppender ignores immediateFlush

2018-07-13 Thread Remko Popma
> On Jul 14, 2018, at 10:49, Remko Popma wrote: > > Be careful in this area. I remember this was quite tricky! > > Please step through the code in a debugger to make sure it does what you > think it does before making changes. Also maybe start with a failing test case. Is there an actual

Re: [Log4j2] RollingFileAppender ignores immediateFlush

2018-07-13 Thread Remko Popma
Be careful in this area. I remember this was quite tricky! Please step through the code in a debugger to make sure it does what you think it does before making changes. Remko > On Jul 14, 2018, at 9: 27, Gary Gregory wrote: > >> On Fri, Jul 13, 2018 at 6:22 PM Gary Gregory wrote: >> >>

[Log4j2] RollingFileAppender ignores immediateFlush

2018-07-13 Thread Gary Gregory
Hi All: Looks like a bug and not by design in: org.apache.logging.log4j.core.appender.rolling.RollingFileManager.RollingFileManager(LoggerContext, String, String, OutputStream, boolean, boolean, long, long, TriggeringPolicy, RolloverStrategy, String, Layout, String, String, String, boolean,

Re: [Log4j2] RollingFileAppender ignores immediateFlush

2018-07-13 Thread Gary Gregory
On Fri, Jul 13, 2018 at 6:22 PM Gary Gregory wrote: > Hi All: > > Looks like a bug and not by design in: > > org.apache.logging.log4j.core.appender.rolling.RollingFileManager.RollingFileManager(LoggerContext, > String, String, OutputStream, boolean, boolean, long, long, > TriggeringPolicy,