summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTamaki Nishino <otamachan@gmail.com>2017-10-20 21:50:08 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-11-12 19:05:37 +0100
commit5dd8afda3ec83d245a4708638a40ca267d0dfed0 (patch)
tree01bee8ce3533eda3b30d3a49bed1e450491ae111 /README.md
parent397dec74114dcdc72728cbe3fe8fa6b982b44f1b (diff)
downloadpython-systemd-5dd8afda3ec83d245a4708638a40ca267d0dfed0.tar.gz
journal: allow JournalHandler constructor to be called with args in a positional param
This change enables to add extra fields to JournalHandler in a configuration file loaded by `logging.config.fileConfig`, which only allows positional parameters: class=systemd.journal.JournalHandler args={'level': INFO, 'SYSLOG_IDENTIFIER': 'my-cool-app'} [zj: originally the patch added a new positional parameter to __init__(), but that is not backwards compatible. So I added a new classmethod to allow the positional parameters to be passed.]
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions