Bug 1330966

Summary: the time in libvirt log is not consistent with the system time
Product: [Community] Virtualization Tools Reporter: Michael Liu <ztehypervisor>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, dyuan, fjin, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-27 11:32:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Liu 2016-04-27 11:29:06 UTC
Description of problem:
the time in libvirt log is  not consistent with the system time

Version-Release number of selected component (if applicable):
libvirt 1.2.21

How reproducible:
check the times in libvirt log and the linux system respectively


Actual results:

libvirt log:
2016-04-26 07:39:08.872+0000: 4906: info : virSecurityDACRestoreSecurityFileLabelInternal:388 : Restoring DAC user and group on '/var/lib/nova/instances/93c0bdd8-9083-4e52-badb-bb85c9ac2127/console.log'
2016-04-26 07:39:08.872+0000: 4906: info : virSecurityDACSetOwnershipInternal:290 : Setting DAC user and group on '/var/lib/nova/instances/93c0bdd8-9083-4e52-badb-bb85c9ac2127/console.log' to '0:0'

system time:
date
Wed Apr 24 15:40:26 CST 2016


Additional info:
The time zone of the linux system is GMT+8.

Comment 1 Daniel Berrangé 2016-04-27 11:32:19 UTC
Libvirt log files are always written in UTC by design.