Issue 2914: Logging TimedRotatingFileHandler Feature Request (original) (raw)
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.