New submission from Yuta Okamoto <[email protected]>:
I noticed that Configurators in logging.config module accepts '.' (dot) as a
key to fill attributes for filters, formatters, and handlers directly like the
following:
handlers:
syslog:
class: logging.handlers.SysLogHandler
.:
ident: 'app-name: '
https://github.com/python/cpython/blob/46abfc1416ff8e450999611ef8f231ff871ab133/Lib/logging/config.py#L742
But it seems this functionality is not documented in
https://docs.python.org/3/library/logging.config.html
----------
assignee: docs@python
components: Documentation
messages: 363744
nosy: Yuta Okamoto, docs@python
priority: normal
severity: normal
status: open
title: logging.config: '.' (dot) as a key is not documented
type: enhancement
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39914>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com