Hello! Can you please tell me if it is possible to "mute" messages from some modules? For example, the module teloxide::error_handlers sometimes logs some message with ERROR level. And I would like to redirect all module logs to DEBUG. Is it possible?
I found the level_for method, but it doesn't work, not sure if this is what I need:
Hello! Can you please tell me if it is possible to "mute" messages from some modules? For example, the module
teloxide::error_handlers
sometimes logs some message withERROR
level. And I would like to redirect all module logs toDEBUG
. Is it possible?I found the
level_for
method, but it doesn't work, not sure if this is what I need:I keep getting
ERROR
level logs from this module.