[issue2914] Logging TimedRotatingFileHandler Feature Request

Val Schmidt report at bugs.python.org
Mon May 19 14:54:19 CEST 2008


New submission from Val Schmidt <vschmidt at ccom.unh.edu>:

I would like the TimedRotatingFileHandler in the logging package to 
optionally rotate on UTC time rather than local time. In my world 
(oceanographic research ships) important things like log files must 
always use UTC time rather than relative local time because local time 
changes alot!

Also it would be helpful to be able to configure the end-of-line 
termination explicitly for logging. For example, if one echos log 
entries out a serial port using the StreamHandler, one might want to 
specify \r, \n or some other such thing because of the funny gear on the 
other side of the serial line. The formatter method seems to default to 
\n (which I generally like) but there's no way to change it.

----------
messages: 67061
nosy: vschmidt
severity: normal
status: open
title: Logging  TimedRotatingFileHandler Feature Request
type: feature request
versions: Python 2.5

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2914>
__________________________________


More information about the Python-bugs-list mailing list