#326 closed defect

use consistent time stamps in logging — at Version 1

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 (last modified by zooko)

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:

  • 17:52:32 0.7390 [26722]: AssistedUploader starting
    • 17:52:32 0.7390 [26724]: contacting helper..
    • 17:52:32 0.9500 [26725]: helper says we need to upload
    • 17:52:33 0.5810 [26731]: upload finished, building readcap

!>>> 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 (1)

comment:1 Changed at 2008-02-28T16:54:01Z by zooko

  • Description modified (diff)

escape from wiki formatting

Note: See TracTickets for help on using tickets.