[Spice-devel] [PATCH vdagent-win 3/3] vdlog: change log times to human readable date & time rhbz#672828

David Jaša djasa at redhat.com
Wed Nov 16 04:46:21 PST 2011


Arnon Gilboa píše v St 16. 11. 2011 v 14:20 +0200:
> Alon Levy wrote:
> > On Wed, Nov 16, 2011 at 12:16:37PM +0200, Arnon Gilboa wrote:
> >   
> >> ifndef USE_DATE_TIME, use system time instead of secs from system startup
> >>     
> >
> > Why do we want to keep the old behavior?
> >   
> For users & qa, human readable date & time (hh:mm:ss) is nicer.
> For debugging, having finer resolution (millisec) sometime helps.
> Sounds reasonable?

FTR, RHEV logs use format like this:
<thread id>::<log level>::2011-11-16 13:43:40,205::<actual log message>

IMO, such time format is suitable for both needs (and given the
verbosity of logs with DEBUG levels, they would be unreadable without ms
precision).

David

> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key:     22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24





More information about the Spice-devel mailing list