Open bmbouter opened 1 year ago
Some users may not want to see the deprecation warnings. Here's a diff that is applied directly to the settings file on how to disable them.
diff --git a/pulpcore/app/settings.py b/pulpcore/app/settings.py index 422beb796..32278f4a6 100644 --- a/pulpcore/app/settings.py +++ b/pulpcore/app/settings.py @@ -229,6 +229,11 @@ LOGGING = { "level": "WARNING", "propagate": False, }, + "pulpcore.deprecation": { + "handlers": ["console"], + "level": "ERROR", + "propagate": False, + } }, }
We should document a "dynaconf specified" approach that our users could apply without having to modify the settings.py file directly (which they should never do).
we already specify how to enable debug log level https://github.com/pulp/pulpcore/blob/main/docs/troubleshooting.rst#enabling-debug-logging we can expand the docs here
Some users may not want to see the deprecation warnings. Here's a diff that is applied directly to the settings file on how to disable them.
We should document a "dynaconf specified" approach that our users could apply without having to modify the settings.py file directly (which they should never do).