Skip to content

TimedRotatingFileHandler: rotate every month, or every year #46571

Closed

Description

@ceder
mannequin
BPO 2318
Nosy @vsajip

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 2008-04-02.21:15:36.369>
created_at = <Date 2008-03-17.08:32:59.063>
labels = ['type-feature', 'library']
title = 'TimedRotatingFileHandler: rotate every month, or every year'
updated_at = <Date 2008-04-02.21:15:36.368>
user = 'https://bugs.python.org/ceder'

bugs.python.org fields:

activity = <Date 2008-04-02.21:15:36.368>
actor = 'vinay.sajip'
assignee = 'vinay.sajip'
closed = True
closed_date = <Date 2008-04-02.21:15:36.369>
closer = 'vinay.sajip'
components = ['Library (Lib)']
creation = <Date 2008-03-17.08:32:59.063>
creator = 'ceder'
dependencies = []
files = []
hgrepos = []
issue_num = 2318
keywords = []
message_count = 2.0
messages = ['63627', '64882']
nosy_count = 2.0
nosy_names = ['vinay.sajip', 'ceder']
pr_nums = []
priority = 'normal'
resolution = 'later'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue2318'
versions = []

Activity

  1. ceder commented on Mar 17, 2008

    cedermannequin
    MannequinAuthor

    In my curent project, I would like to rotate log files on the 1st of
    every month. The TimedRotatingFileHandler class cannot do this, even
    though it tries to be very generic.

    I imagine that other projects would like to rotate the log file every
    year. That can also not be done.

  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    type-featureA feature request or enhancement
    on Mar 17, 2008
  3. vsajip commented on Apr 2, 2008

    @vsajip
    Member

    I'm not sure how much of a need there is for this, and I don't have much
    think time I can devote to it, but I'll be happy to consider a patch ;-)

  4. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions