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

Yaniv Kaul ykaul at redhat.com
Wed Nov 16 04:57:16 PST 2011


On 11/16/2011 02:46 PM, David Jaša wrote:
> 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

And being consistent somehow with oVirt/VDSM logs would allow parsing 
them in the same engine(s), for example.
Very useful for troubleshooting and debugging.
Y.

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



More information about the Spice-devel mailing list