-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistency of BoundLogger with logging.Logger #190
Comments
That’s on purpose…what would you expect them to do? |
@hynek I expect them to proxy to original attributes or methods. The problem occured when I tried to replace my Flask app's default logger with |
Another one example of logger's |
I suppose the easiest way for you would be to use the dynamic default logger that will just proxy everything to the wrapped logger? I’m not sure it’s worth it to play whack-a-mole with the whole API to catch all possible usages. 🤔 |
What do you mean by "dynamic default logger" and how it can be used with the |
If I’m not mistaken, it should be enough to not configure |
There are no public attributes of
logging.Logger
available withinBoundLogger
(propagate
for instance).Also there are no attributes or methods of
logging.Filterer
(which is parent class oflogging.Logger
) available withinBoundLogger
.The text was updated successfully, but these errors were encountered: