Re: wrong time in guest logs

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

 



Eric wrote:


> -----Ursprüngliche Nachricht-----
> Von: Eric Blake [mailto:eblake@xxxxxxxxxx]
> Gesendet: Dienstag, 28. Oktober 2014 17:18
> An: Lentes, Bernd; libvirt-ML (libvirt-users@xxxxxxxxxx)
> Betreff: Re:  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

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users





[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux