ChannelLogger: Use a sane timestamp for filenameTimestamp

Closes #2591305

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
James Vega 2009-03-08 00:08:59 -05:00
parent d59ac366b3
commit 856f372303
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ conf.registerChannelValue(ChannelLogger, 'rotateLogs',
timestamp for the log changes. The timestamp is set according to
the 'filenameTimestamp' configuration variable."""))
conf.registerChannelValue(ChannelLogger, 'filenameTimestamp',
registry.String('%d-%a-%Y', """Determines how to represent the timestamp
registry.String('%Y-%m-%d', """Determines how to represent the timestamp
used for the filename in rotated logs. When this timestamp changes, the
old logfiles will be closed and a new one started. The format characters
for the timestamp are in the time.strftime docs at python.org. In order