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
I'm trying to set a specific module to log level DEBUG while keeping the other logs at the normal level but I can't find a "good" solution for that.
I've been reading through the documentation and other issues and I haven't found anything that matches this case. There are a few useful tips in #138, but that doesn't solve the issue either.
Specifically what I'm looking for is something like this (with the standard logging module):
I'm trying to set a specific module to log level DEBUG while keeping the other logs at the normal level but I can't find a "good" solution for that.
I've been reading through the documentation and other issues and I haven't found anything that matches this case. There are a few useful tips in #138, but that doesn't solve the issue either.
Specifically what I'm looking for is something like this (with the standard logging module):
With loguru I can do this:
While that works, it causes duplicate output for
INFO
and up.I could do a custom filter, but that seems a rather clunky solution:
Is there a better way to take care of this scenario? It seems like this would be a common use-case :)
The text was updated successfully, but these errors were encountered: