diff --git a/src/antsibull_core/logging.py b/src/antsibull_core/logging.py index 8bd817a..6dc3a45 100644 --- a/src/antsibull_core/logging.py +++ b/src/antsibull_core/logging.py @@ -194,7 +194,7 @@ def run(args): # the log is output as. See the twiggy documentation for information on the format of # the logging config. See the antsibull.app_context documentation if you want more # information on the context object. - twiggy.dict_config(app_ctx.logging_cfg.dict()) + twiggy.dict_config(app_ctx.logging_cfg.model_dump()) Once those steps are taken, any further logging calls will obey the user's configuration.