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 benoitc#1909.
  • Loading branch information
tilgovi authored and PetrDlouhy committed Oct 21, 2022
1 parent 7ca05ec commit 84d9ea1
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 84d9ea1

Please sign in to comment.