From 37994e14228290360dde45db1670011c362e7bf5 Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Wed, 16 Dec 2020 18:08:38 -0500 Subject: [PATCH] Remove the --log-config-dict flag There is no support for decoding any dictionary supplied on the command line. The only way to supply a dictionary logging config is through the configuration file. Close #1909. --- docs/source/news.rst | 6 ++++++ gunicorn/config.py | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/source/news.rst b/docs/source/news.rst index 2f8c7481..3b902a03 100644 --- a/docs/source/news.rst +++ b/docs/source/news.rst @@ -2,6 +2,12 @@ Changelog ========= +Unreleased +========== + +- remove the `--log-dict-config` CLI flag because it never had a working format + (the `logconfig_dict` setting in configuration files continues to work) + 20.0.4 / 2019/11/26 =================== diff --git a/gunicorn/config.py b/gunicorn/config.py index b43e3922..11c924c1 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -1419,7 +1419,6 @@ class LogConfig(Setting): class LogConfigDict(Setting): name = "logconfig_dict" section = "Logging" - cli = ["--log-config-dict"] validator = validate_dict default = {} desc = """\