swebb2066 commented on issue #545: URL: https://github.com/apache/logging-log4cxx/issues/545#issuecomment-3499832366
@vanand123 Please change your application so it does not hold a LoggerRepository pointer. The Log4cxx design allows your application to retrieve a LoggerRepository from LogManager when required. I believe the Logger::getLoggerRepository() method (introduced in 2003 in 44e4c4173) is intended for use when the application uses multiple LoggerRepository objects, which is only useful where multiple applications reside in a single process (e.g. in a JVM). In a future version of Log4cxx (i.e. when the ABI version changes), I would prefer the Logger::getLoggerRepository() method be removed as we have not identified any use case that needs multipleLoggerRepository objects and we do not have any tests for the use LoggerRepository objects. -- 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]
