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

   While formatting, `XmlLayoutSchemaLog4J` adds `log4jmachinename`, 
`log4japp`, `log4net:Identity` and
   `log4net:UserName` to the event's own properties. With a buffering appender 
on the same logger and
   concurrent logging, the flush can throw "Collection was modified" and lose 
the rest of the batch.
   The added keys also reach every appender that runs after it. 
ANT-2026-L9XQVDSD.
   
   Proposed fix: format from a copy of the properties and leave the event 
untouched. The four keys then
   no longer reach later appenders of the same call.
   


-- 
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] `XmlLayoutSchemaLog4J` write... FreeAndNil (via GitHub) via notifications

Reply via email to