You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is customary in python logging for loggers to have dotted names up to at least the module level, such as posttroll.subscriber. This idiom is not respected by the posttroll.listener module, which calls its loggers ListenerContainer and Listener. Those should be called posttroll.listener.Listener and posttroll.listener.ListenerContainer, respectively, so that user applications can set a logging handler applying to all messages coming from posttroll, and don't need to configure an extra logger for Listener. Another advantage of respecting the logging idiom is that users can see what module is issuing a log message, something that is unclear in case of a bare Listener.
The text was updated successfully, but these errors were encountered:
pnuu
linked a pull request
Nov 15, 2024
that will
close
this issue
It is customary in python logging for loggers to have dotted names up to at least the module level, such as
posttroll.subscriber
. This idiom is not respected by theposttroll.listener
module, which calls its loggersListenerContainer
andListener
. Those should be calledposttroll.listener.Listener
andposttroll.listener.ListenerContainer
, respectively, so that user applications can set a logging handler applying to all messages coming from posttroll, and don't need to configure an extra logger forListener
. Another advantage of respecting the logging idiom is that users can see what module is issuing a log message, something that is unclear in case of a bareListener
.The text was updated successfully, but these errors were encountered: