Skip to content

Commit bd3a63b

Browse files
committed
Configure __main__ logger
1 parent cf0bc4b commit bd3a63b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ircurltitlebot/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def configure_logging() -> None:
3030
},
3131
"handlers": {"console": {"class": "logging.StreamHandler", "level": "DEBUG", "formatter": "detailed", "stream": "ext://sys.stdout"}},
3232
"loggers": {
33+
"__main__": {"level": "INFO", "handlers": ["console"], "propagate": False},
3334
PACKAGE_NAME: {"level": "INFO", "handlers": ["console"], "propagate": False},
3435
# "urltitle": {"level": "INFO", "handlers": ["console"], "propagate": False},
3536
# "": {"level": "DEBUG", "handlers": ["console"]},

0 commit comments

Comments
 (0)