[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] Can we convert UTC time to local time in Qemu

From: Eric Blake
Subject: Re: [Qemu-devel] [RFC] Can we convert UTC time to local time in Qemu
Date: Wed, 20 May 2015 21:04:51 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 05/20/2015 08:43 AM, Eric Blake wrote:

> I'd rather stick with UTC in logs (but perhaps make it more obvious that
> the timestamp is UTC by actually sticking that string as part of the
> timestamp - libvirt is not currently doing that).

Actually, here's a libvirt log timestamp:
2015-05-17 02:29:06.931+0000: shutting down

which includes the timezone offset (so while it doesn't state "UTC", it
DOES state an unambiguous timezone, which happens to be UTC).

Compare that to a qemu timestamp:
   (qemu) 2015-05-21T02:07:43.695065Z qemu-system-x86_64: test....

which is ALSO unambiguous (the trailing "Z" _is_ the UTC timezone).

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]