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 have 2 sinks. When i use logger.exception('bla bla') its show traceback in both sinks. Why so? I wanna that exceptions messages go to error sink, and all other to info sink
The level parameter is a minimum threshold. This is the conventional and recommended way of doing logging: you can adapts the logged details according to your needs during development or in production.
If you want only logs from a specific level, you need to use a filter:
I have 2 sinks. When i use logger.exception('bla bla') its show traceback in both sinks. Why so? I wanna that exceptions messages go to
error
sink, and all other toinfo
sinkits raise exception to both sinks
The text was updated successfully, but these errors were encountered: