#326 closed defect

use consistent time stamps in logging — at Initial Version

Reported by: zooko Owned by: warner
Priority: major Milestone: 1.5.0
Component: code-nodeadmin Version: 0.8.0
Keywords: Cc: zooko
Launchpad Bug:

Description

Brian:

Would it be okay if I changed flogtool dump and flogtool web-viewer to use the ISO 8601'ish, UTC, format that we earlier agreed and and that is implemented in

http://allmydata.org/trac/tahoe/browser/src/allmydata/node.py#L29

Currently I'm trying to match two logs, one of which is in dump format and one of which is in web-viewer format, and I can't find any matching timestamps. The timestamps don't have any time zone information attached to them, which makes me think that they must be in UTC, but I'm not sure.

Examples:

from the dump:

oy2wi53k 1204167662.092443: helper: upload_chk query for SI fxka6q4pfenkvchyh2z4xkg5xa
oy2wi53k 1204167662.0932679: doing a quick check+UEBfetch
g5rdi5te 1204167662.096379: storage: slot_readv n5cbdwdbi3bec6opkmvnd6hhdm []
g5rdi5te 1204167662.0970781: returning shares [1]

from the web-view:

pyutil.time_format.iso_utc(1204167662.092443)

'2008-02-28_03:01:02.092443'

So there's either a UTC-vs.-localtime problem here, or else I'm looking at logs from two different times. Anyway, I'll stop posting my debugging notes in this ticket now. ;-)

assigning to Brian with the intent that he will answer the "yea/nay" question and assign it back to me

Change History (0)

Note: See TracTickets for help on using tickets.