Skip to content

logging.config: '.' (dot) as a key is not documented #84095

Closed

Description

@okapies
mannequin
BPO 39914
Nosy @vsajip, @okapies

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2020-03-09.15:59:34.252>
labels = ['3.8', 'type-feature', '3.7', '3.9', 'docs']
title = "logging.config: '.' (dot) as a key is not documented"
updated_at = <Date 2020-03-09.16:02:04.687>
user = 'https://github.com/okapies'

bugs.python.org fields:

activity = <Date 2020-03-09.16:02:04.687>
actor = 'xtreak'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2020-03-09.15:59:34.252>
creator = 'Yuta Okamoto'
dependencies = []
files = []
hgrepos = []
issue_num = 39914
keywords = []
message_count = 1.0
messages = ['363744']
nosy_count = 3.0
nosy_names = ['vinay.sajip', 'docs@python', 'Yuta Okamoto']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue39914'
versions = ['Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']

Activity

  1. okapies commented on Mar 9, 2020

    okapiesmannequin
    MannequinAuthor

    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: '

    props = config.pop('.', None)

    But it seems this functionality is not documented in https://docs.python.org/3/library/logging.config.html

  2. added
    docsDocumentation in the Doc dir
    type-featureA feature request or enhancement
    on Mar 9, 2020
  3. added
    docsDocumentation in the Doc dir
    type-featureA feature request or enhancement
    on Mar 9, 2020
  4. transferred this issue fromon Apr 10, 2022
  5. added 2 commits that reference this issue on Sep 5, 2022
  6. added a commit that references this issue on Sep 5, 2022
  7. added 3 commits that reference this issue on Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifedocsDocumentation in the Doc dirtype-featureA feature request or enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions