]> xenbits.xensource.com Git - libvirt.git/commitdiff
libxl: Add timestamp to the libxl driver log.
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 8 Jun 2015 17:05:06 +0000 (18:05 +0100)
committerJim Fehlig <jfehlig@suse.com>
Sat, 13 Jun 2015 01:13:59 +0000 (19:13 -0600)
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
src/libxl/libxl_conf.c

index 9b258acbbcecabccca935acbc1d37dd76de8e103..e84575910ac52d50cbe2eb357470a3d6dd79eebc 100644 (file)
@@ -1541,7 +1541,7 @@ libxlDriverConfigNew(void)
 
     cfg->logger =
         (xentoollog_logger *)xtl_createlogger_stdiostream(cfg->logger_file,
-                                                          XTL_DEBUG, 0);
+                                      XTL_DEBUG, XTL_STDIOSTREAM_SHOW_DATE);
     if (!cfg->logger) {
         VIR_ERROR(_("cannot create logger for libxenlight, disabling driver"));
         goto error;