[tahoe-dev] timestamps (was: collective effort to improve logging)
zooko at zooko.com
Tue Sep 18 11:58:49 PDT 2007
I would be happy with ISO-8601 (with s/T/ /), UTC (with appended "Z"
to make it clear), and precision anywhere from seconds to
milliseconds (or even finer, if someone really wants it).
This would look like:
2007-09-17 09:32:01.122Z [Client] z23k6ynh: 'connected to qtjkk6cy'
I'm not entirely sure how I would implement this change though...
Here is the method named "log" in the Node class:
Using the darcs patch browser ( http://allmydata.org/darcs.cgi/tahoe/?
c=browse ), I can click on that line to see patch most recently
This was a patch contributed by Arno ( http://allmydata.org/trac/
I don't know the "timeFormat" specification for the timestamp format
that I want.
However, this only changes log messages which were made by calling
Node.log() -- not log messages made by twisted.log. Is that okay
More information about the tahoe-dev