Eric wrote:
-----Ursprüngliche Nachricht-----
Von: Eric Blake [mailto:eblake@redhat.com]
Gesendet: Dienstag, 28. Oktober 2014 17:18
An: Lentes, Bernd; libvirt-ML (libvirt-users(a)redhat.com)
Betreff: Re: [libvirt-users] wrong time in guest logs
On 10/28/2014 10:08 AM, Lentes, Bernd wrote:
> Hi,
[can you convince your mailer to wrap long lines?]
>
> i have several vm's running on KVM hosts. Recently i found out that the
time in the log-files of the guests (/var/log/libvirt/qemu/xxx.log) is wrong.
The time on the guest itself is right, just the time in the log-files is one hour
back. Windows and linux vm's are affected. Also on another host the same.
Changing the clock offset does not have any influence, still the wrong time in
the log file.
The time in libvirt logs is ALWAYS tied to UTC, precisely because that is
unambiguous (any log that outputs timestamps in local time risks being
misinterpreted if the log is read from a different timezone, especially if the
timezone name is not included as part of the timestamp). Based on you
email address, it looks like your problem is that Germany is coincident with
UTC in the summer, but one hour off in the winter, and that your "problem"
(which is not a bug) was made manifest because Germany left daylight
savings this week.
Nearly. In summer we have in germany UTC+2, in winter UTC+1.
Bernd
Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671