FreeAndNil opened a new issue, #363:
URL: https://github.com/apache/logging-log4net/issues/363

   `BufferingAppenderSkeleton.ActivateOptions` replaces the buffer 
unconditionally and outside the
   appender lock. The documentation asks for `ActivateOptions()` again after a 
property change, so an
   application that reconfigures a live `BufferingForwardingAppender` or mail 
appender from code loses
   up to `BufferSize` buffered events. `Flush` still returns `true`, nothing is 
reported. Configuration
   from XML only does not hit it. ANT-2026-IG7QNHGN.
   
   Proposed fix: under the appender lock, keep the buffer when its size is 
unchanged; otherwise hand
   the buffered events to the new buffer through the normal append path, so the 
usual lossy and
   evaluator rules decide what is sent at once.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [I] A second ActivateOptions dro... FreeAndNil (via GitHub) via notifications

Reply via email to