[New-bugs-announce] [issue9726] logging.handlers.RotatingFileHandler: implement "preserve log file name extension" feature

Desmond Cox report at bugs.python.org
Tue Aug 31 21:11:27 CEST 2010


New submission from Desmond Cox <desmondgc at gmail.com>:

See https://issues.apache.org/jira/browse/LOG4NET-64 - "[PATCH] to RollingFileAppender.cs to add the ability to preserve the log file name extension when rolling the log file."

Currently, rollover appends a numeric extension to the base file name. E.g.:

app.log
app.log.1
app.log.2

Consider adding an option to preserve the log file name extension. E.g.:

app.log
app.1.log
app.2.log

This maintains file associations in Windows, most notably.

----------
components: Library (Lib)
messages: 115272
nosy: desmondgc
priority: normal
severity: normal
status: open
title: logging.handlers.RotatingFileHandler: implement "preserve log file name extension" feature
type: feature request
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9726>
_______________________________________


More information about the New-bugs-announce mailing list