using human readable date in log output
This commit is contained in:
parent
7134ac4650
commit
8d28743ba6
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def setup_logging(args, version):
|
||||||
if not logfile:
|
if not logfile:
|
||||||
logfile = '~/.wakatime.log'
|
logfile = '~/.wakatime.log'
|
||||||
handler = logging.FileHandler(os.path.expanduser(logfile))
|
handler = logging.FileHandler(os.path.expanduser(logfile))
|
||||||
formatter = JsonFormatter(datefmt='%Y-%m-%dT%H:%M:%SZ')
|
formatter = JsonFormatter(datefmt='%a %b %d %H:%M:%S %Z %Y')
|
||||||
formatter.setup(
|
formatter.setup(
|
||||||
timestamp=args.timestamp,
|
timestamp=args.timestamp,
|
||||||
endtime=args.endtime,
|
endtime=args.endtime,
|
||||||
|
|
Loading…
Reference in a new issue