You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "swebb2066 (via GitHub)" <gi...@apache.org> on 2026/02/12 06:13:55 UTC

[PR] Prevent message loss when the calculation of a logged value also logs [logging-log4cxx]

swebb2066 opened a new pull request, #594:
URL: https://github.com/apache/logging-log4cxx/pull/594

   When logging a complex (multiple value) message (using MessageBuffer) where a value in the message is provided by a function that also outputs a log complex message (using MessageBuffer), the std::stringstream object can be cleared to compose the lower level log message.
   
   As log messages are relied on to illuminate the behaviour of a complex program, this causes severe confusion.
   
   This PR adds multple (3) std::stringstream objects per thread to prevent this confusing situation for most cases - when 2 levels of the above pattern arise)


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Prevent message loss when the calculation of a logged value also logs [logging-log4cxx]

Posted by "swebb2066 (via GitHub)" <gi...@apache.org>.
swebb2066 merged PR #594:
URL: https://github.com/apache/logging-log4cxx/pull/594


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org