mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-09 03:44:23 +00:00
node.py: don't append 'Z' to the timestamp, since it's really localtime. We need deeper changes to make it be UTC
This commit is contained in:
parent
6ed8664c7f
commit
34a25b9b28
@ -176,7 +176,9 @@ class Node(service.MultiService):
|
||||
except TypeError, e:
|
||||
msg = "ERROR: output string '%s' contained invalid %% expansion, error: %s, args: %s\n" % (`msg`, e, `args`)
|
||||
# TODO: modify the timestamp to include milliseconds
|
||||
log.FileLogObserver.timeFormat="%Y-%m-%d %H:%M:%S.000Z"
|
||||
# TODO: modify it to be in UTC instead of localtime
|
||||
# (see twisted/python/log.py:FileLogObserver.formatTime line 362)
|
||||
log.FileLogObserver.timeFormat="%Y-%m-%d %H:%M:%S"
|
||||
log.callWithContext({"system":logsrc},log.msg,(self.short_nodeid + ": " + humanreadable.hr(msg)))
|
||||
|
||||
def _setup_tub(self, local_addresses):
|
||||
|
Loading…
x
Reference in New Issue
Block a user