Skip to content

Setting logger.level directly has no effect due to caching in 3.7+ #82038

@zaneb

Description

@zaneb
mannequin
BPO 37857
Nosy @vsajip, @vstinner, @dhellmann, @zaneb
PRs
  • bpo-37857: Invalidate cache when log level changed directly #15286
  • 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 2019-08-14.19:46:10.440>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'Setting logger.level directly has no effect due to caching in 3.7+'
    updated_at = <Date 2020-06-16.15:54:37.284>
    user = 'https://github.com/zaneb'

    bugs.python.org fields:

    activity = <Date 2020-06-16.15:54:37.284>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-08-14.19:46:10.440>
    creator = 'zaneb'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37857
    keywords = ['patch']
    message_count = 9.0
    messages = ['349741', '351400', '351472', '351480', '351532', '351597', '352893', '352959', '371678']
    nosy_count = 4.0
    nosy_names = ['vinay.sajip', 'vstinner', 'doughellmann', 'zaneb']
    pr_nums = ['15286']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue37857'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      No status

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions