Skip to content

TimedRotatingFileHandler deletes wrong files #90221

Description

@SamiSalonen
BPO 46063
Nosy @vsajip, @miss-islington, @iritkatriel
PRs
  • bpo-46063: Improve algorithm for computing which rolled-over log file… (GH-30093) #30093
  • [3.10] bpo-46063: Improve algorithm for computing which rolled-over log file… (GH-30093) (GH-30094) #30094
  • [3.9] bpo-46063: Improve algorithm for computing which rolled-over log file… (GH-30093) (GH-30095) #30095
  • bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) #30103
  • [3.10] bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) (GH-30104) #30104
  • [3.9] bpo-46063: Add 'delay=True' to file handler initialization. (GH-30103) (GH-30105) #30105
  • 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 2021-12-14.10:01:53.983>
    created_at = <Date 2021-12-13.12:12:03.236>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'TimedRotatingFileHandler deletes wrong files'
    updated_at = <Date 2021-12-14.17:27:26.542>
    user = 'https://bugs.python.org/SamiSalonen'

    bugs.python.org fields:

    activity = <Date 2021-12-14.17:27:26.542>
    actor = 'vinay.sajip'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-12-14.10:01:53.983>
    closer = 'vinay.sajip'
    components = ['Library (Lib)']
    creation = <Date 2021-12-13.12:12:03.236>
    creator = 'Sami Salonen'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46063
    keywords = ['patch']
    message_count = 10.0
    messages = ['408445', '408446', '408506', '408509', '408510', '408521', '408522', '408548', '408552', '408553']
    nosy_count = 4.0
    nosy_names = ['vinay.sajip', 'Sami Salonen', 'miss-islington', 'iritkatriel']
    pr_nums = ['30093', '30094', '30095', '30103', '30104', '30105']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46063'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Activity

    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.10only security fixes3.11only security fixes3.9 (EOL)end of lifestdlibStandard 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