Skip to content

logging.config.dictConfig with file handler leaks resources #78159

@maggyero

Description

@maggyero
mannequin
BPO 33978
Nosy @vsajip, @maggyero, @tirkarthi
PRs
  • bpo-33978: close resources before deletion of logging handlers #8008
  • [3.7] bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008) #8044
  • [3.6] bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008) #8045
  • Files
  • 33978.patch
  • 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 = <Date 2018-07-02.09:36:28.065>
    created_at = <Date 2018-06-27.09:29:16.048>
    labels = ['library', 'performance']
    title = 'logging.config.dictConfig with file handler leaks resources'
    updated_at = <Date 2018-07-02.11:36:33.218>
    user = 'https://github.com/maggyero'

    bugs.python.org fields:

    activity = <Date 2018-07-02.11:36:33.218>
    actor = 'maggyero'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-02.09:36:28.065>
    closer = 'vinay.sajip'
    components = ['Library (Lib)']
    creation = <Date 2018-06-27.09:29:16.048>
    creator = 'maggyero'
    dependencies = []
    files = ['47656']
    hgrepos = []
    issue_num = 33978
    keywords = ['patch']
    message_count = 8.0
    messages = ['320560', '320652', '320653', '320856', '320859', '320860', '320861', '320873']
    nosy_count = 3.0
    nosy_names = ['vinay.sajip', 'maggyero', 'xtreak']
    pr_nums = ['8008', '8044', '8045']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue33978'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions