Skip to content

Issue with RotatingFileHandler logging handler on Windows #48999

@mramahi77

Description

@mramahi77
mannequin
BPO 4749
Nosy @vsajip
Files
  • rothandlerbug.py: Sample file. Please run several times
  • loggertest.zip: script and configuration file
  • unnamed
  • logthred.py: Script that reproduces logging failure with multiple threads.
  • unnamed
  • unnamed
  • logthred-windows.zip
  • logthread-ubuntu.zip
  • revised-logthred.py
  • python-logging-capture.log: Filemon log during test run with logging script.
  • thredio.py: Script which behaves like revised-logthred.py but doesn't use logging
  • python-io-capture.log: Filemon log during test run with non-logging script.
  • subprclg.py: Using subprocess.Popen instead of os.system - still fails.
  • NTSafeLogging.py: NT RotatingFileHandler that ensures log file handles cannot be inherited
  • 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 = 'https://github.com/vsajip'
    closed_at = <Date 2009-06-09.23:37:10.558>
    created_at = <Date 2008-12-26.12:46:45.328>
    labels = ['invalid', 'type-bug', 'library']
    title = 'Issue with RotatingFileHandler logging handler on Windows'
    updated_at = <Date 2013-08-14.20:15:09.636>
    user = 'https://bugs.python.org/mramahi77'

    bugs.python.org fields:

    activity = <Date 2013-08-14.20:15:09.636>
    actor = 'piotr.dobrogost'
    assignee = 'vinay.sajip'
    closed = True
    closed_date = <Date 2009-06-09.23:37:10.558>
    closer = 'vinay.sajip'
    components = ['Library (Lib)']
    creation = <Date 2008-12-26.12:46:45.328>
    creator = 'mramahi77'
    dependencies = []
    files = ['12449', '13315', '14219', '14226', '14227', '14228', '14229', '14230', '14241', '14247', '14248', '14249', '14260', '14420']
    hgrepos = []
    issue_num = 4749
    keywords = []
    message_count = 48.0
    messages = ['78293', '78562', '78619', '80287', '83512', '83666', '83682', '88206', '88218', '88219', '89028', '89031', '89049', '89091', '89092', '89093', '89095', '89103', '89109', '89110', '89113', '89114', '89122', '89124', '89126', '89127', '89128', '89150', '89151', '89155', '89172', '89174', '89180', '89184', '89201', '89210', '89212', '89215', '89218', '89264', '89265', '89994', '101778', '101819', '101822', '101823', '101827', '163403']
    nosy_count = 12.0
    nosy_names = ['vinay.sajip', 'ggenellina', 'fossilet', 'mramahi77', 'lowell87', 'neyro', 'rcronk', 'Frans', 'eantelman', 'jpfarias', 'piotr.dobrogost', 'Thom.Nichols']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4749'
    versions = ['Python 2.6']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions