Skip to content

TimedRotatingFileHandler rotating on use not time #84649

@markhallett

Description

@markhallett
BPO 40469
Nosy @vsajip, @stevendaprano, @martonivan
PRs
  • gh-84649: Make TimedRotatingFileHandler use CTIME instead of MTIME #24660
  • Files
  • logging_config.ymal
  • app.py: Eg code to use the ymal file
  • config.json: JSON version of test config
  • log_40469.py: Modified test script
  • log_40469_new_instance.py
  • log_40469_single.py
  • 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-05-01.15:02:02.675>
    labels = ['3.8']
    title = 'TimedRotatingFileHandler rotating on use not time'
    updated_at = <Date 2022-03-31.20:48:10.169>
    user = 'https://bugs.python.org/markhallett'

    bugs.python.org fields:

    activity = <Date 2022-03-31.20:48:10.169>
    actor = 'steven.daprano'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2020-05-01.15:02:02.675>
    creator = 'markhallett'
    dependencies = []
    files = ['49111', '49112', '50196', '50197', '50208', '50209']
    hgrepos = []
    issue_num = 40469
    keywords = []
    message_count = 11.0
    messages = ['367849', '367922', '398684', '399306', '399481', '399496', '399499', '399500', '399506', '399531', '416458']
    nosy_count = 4.0
    nosy_names = ['vinay.sajip', 'steven.daprano', 'markhallett', 'martonivan']
    pr_nums = ['24660']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40469'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directory

      Projects

      Status

      No status

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions