From: Brian Warner Date: Thu, 11 Oct 2007 09:24:17 +0000 (-0700) Subject: node.py: don't append 'Z' to the timestamp, since it's really localtime. We need... X-Git-Tag: allmydata-tahoe-0.6.1~42 X-Git-Url: https://git.rkrishnan.org/about.html?a=commitdiff_plain;h=34a25b9b28f3c2c9a1fce1729b1ae31e3fc50fe8;p=tahoe-lafs%2Ftahoe-lafs.git node.py: don't append 'Z' to the timestamp, since it's really localtime. We need deeper changes to make it be UTC --- diff --git a/src/allmydata/node.py b/src/allmydata/node.py index 2674b31a..c1d0b4ff 100644 --- a/src/allmydata/node.py +++ b/src/allmydata/node.py @@ -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):