Use 24-hour clock for log timestamps.

This commit is contained in:
Aldo Cortesi 2012-08-23 17:22:17 +12:00
parent b1cbea8cb7
commit 60b016365f

2
pathod
View File

@ -59,7 +59,7 @@ def main(parser, args):
log.setLevel(logging.DEBUG)
fmt = logging.Formatter(
'%(asctime)s: %(message)s',
datefmt='%d-%m-%y %I:%M:%S',
datefmt='%d-%m-%y %H:%M:%S',
)
if args.logfile:
fh = logging.handlers.WatchedFileHandler(args.logfile)