Bug 1330966 - the time in libvirt log is not consistent with the system time
Summary: the time in libvirt log is not consistent with the system time
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-27 11:29 UTC by Michael Liu
Modified: 2016-05-03 06:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-27 11:32:19 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.