Skip to content

Commit

Permalink
Remove the --log-config-dict flag
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tilgovi committed Dec 19, 2020
1 parent 548d582 commit 37994e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/source/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
===================

Expand Down
1 change: 0 additions & 1 deletion gunicorn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,6 @@ class LogConfig(Setting):
class LogConfigDict(Setting):
name = "logconfig_dict"
section = "Logging"
cli = ["--log-config-dict"]
validator = validate_dict
default = {}
desc = """\
Expand Down

0 comments on commit 37994e1

Please sign in to comment.