Who? 2025-07-19 02:46:03 +07:00 committed by GitHub
parent c744d3a79e
commit 0bb80eb71d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ class TestMod(loader.Module):
def _pass_config_to_logger(self):
logging.getLogger().handlers[0].force_send_all = self.config["force_send_all"]
logging.getLogger().handlers[0].tg_level = {
"DEBUG": 0,
"INFO": 20,
"WARNING": 30,
"ERROR": 40,