﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
326	use consistent time stamps in logging	zooko	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"	defect	closed	major	1.5.0	code-nodeadmin	0.8.0	somebody else's problem		zooko	
