swebb2066 commented on PR #271: URL: https://github.com/apache/logging-log4cxx/pull/271#issuecomment-1754289804
These changes are currently not sufficient to allow logging during program termination phase due to other static data used in Log4cxx. For each level there is a std::shared_ptr<Level> static variable which will be reset during the on-exit chain processing. If the Layout tries to include the level name using the (null) LevelPtr the appication will crash. Also, any LoggerPtr the application stores in a static will be reset during the on-exit chain processing. This will cause a crash if the (null) LoggerPtr is dereferenced in code to add a logging event. -- 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]
