apache / logging-log4cxx

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

Make Level object lifetimes longer than any Logger object #410

Closed swebb2066 closed 1 month ago

swebb2066 commented 1 month 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)