You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2021/10/26 04:35:52 UTC

[GitHub] [logging-log4cxx] RyanShin0112 opened a new pull request #74: Register FallbackErrorHandler class

RyanShin0112 opened a new pull request #74:
URL: https://github.com/apache/logging-log4cxx/pull/74


   There are two error handlers in log4cxx(OnlyOnceErrorHandler and FallbackErrorHandler) but only ‘OnlyOnceErrorHandler’ gets registered.
   The reason is that ‘FallbackErrorHandler’ is not referenced anywhere, so IMPLEMENT_LOG4CXX_OBJECT() for ‘FallbackErrorHandler’ won’t get called.
   On the other hand, ‘OnlyOnceErrorHandler’ is referenced from appenderskeleton.cpp so class registration for that class will be done without any problem.
   For the classes that are not internally referenced, Log4cxx is designed to register the classes in ‘Class::registerClasses()’, but ‘FallbackErrorHandler’ seems to be missing.
   
   Since 'FallbackErrorHandler' is a built-in handler, I think the library should register that class by default.


-- 
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



[GitHub] [logging-log4cxx] rm5248 commented on pull request #74: Register FallbackErrorHandler class

Posted by GitBox <gi...@apache.org>.
rm5248 commented on pull request #74:
URL: https://github.com/apache/logging-log4cxx/pull/74#issuecomment-955122221


   The `FallbackErrorHandler` does get registered someplace(at least on Linux), but it doesn't look like this will hurt at all.  merged.


-- 
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



[GitHub] [logging-log4cxx] rm5248 merged pull request #74: Register FallbackErrorHandler class

Posted by GitBox <gi...@apache.org>.
rm5248 merged pull request #74:
URL: https://github.com/apache/logging-log4cxx/pull/74


   


-- 
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