Change the default of supybot.log.timestampFormat to iso8601 (thanks, Grantbow, I used your forum post for this).

This commit is contained in:
Jeremy Fincher 2004-12-16 13:55:54 +00:00
parent e91a897f53
commit e7b8d8bcbc
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ conf.registerGlobalValue(conf.supybot.log, 'statistics',
took to parse a message, process a command, etc. You probably don't care
about this."""))
conf.registerGlobalValue(conf.supybot.log, 'timestampFormat',
registry.String('[%d-%b-%Y %H:%M:%S]', """Determines the format string for
registry.String('%Y-%m-%dT%H:%M:%S', """Determines the format string for
timestamps in logfiles. Refer to the Python documentation for the time
module to see what formats are accepted. If you set this variable to the
empty string, times will be logged in a simple seconds-since-epoch