Re: wrong time in guest logs

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

 



On Tue, Oct 28, 2014 at 05:08:45PM +0100, Lentes, Bernd wrote:
> Hi,
> 
> 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.
> Any ideas ?

The timestamps in libvirt log files should always be in UTC, never local
timezone. We had to roll our own code for generating timestamps since the
standard glibc formatting turned out to not be re-entrant safe, and as a
results we unfortunately cannot do localtime conversion.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
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