apache / logging-log4cxx

Apache Log4cxx is a C++ port of Apache Log4j
http://logging.apache.org/log4cxx
Apache License 2.0
278 stars 122 forks source link

Make Level object lifetimes longer than any Logger object #410

Closed swebb2066 closed 2 months ago

swebb2066 commented 2 months ago

This PR prevents a possible use-after-free when a logging event is generated in an on-exit function (e.g. a destructor of a static object)