diff --git a/changelog/896.bugfix.rst b/changelog/896.bugfix.rst new file mode 100644 index 00000000..b03071dc --- /dev/null +++ b/changelog/896.bugfix.rst @@ -0,0 +1 @@ +Reconfgure root logger to show all log messages. diff --git a/twine/cli.py b/twine/cli.py index efcf97c4..48f14503 100644 --- a/twine/cli.py +++ b/twine/cli.py @@ -52,6 +52,7 @@ def configure_output() -> None: # test_main.py due to capsys not being cleared. logging.config.dictConfig( { + "disable_existing_loggers": False, "version": 1, "handlers": { "console": { @@ -61,10 +62,8 @@ def configure_output() -> None: "highlighter": rich.highlighter.NullHighlighter(), } }, - "loggers": { - "twine": { - "handlers": ["console"], - }, + "root": { + "handlers": ["console"], }, } )