libxl: Add timestamp to the libxl driver log.
PATCH 1/1 libxl: Add timestamp to the libxl driver log.
Signed-off-by Anthony PERARD <[email protected]>
--- src/libxl/libxl_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/libxl/libxl_conf.c +1 -1
@@ -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;
Signature · 1 line
Anthony PERARD
Quoted 10 lines · Anthony PERARD
Signed-off-by Anthony PERARD <[email protected]>--- src/libxl/libxl_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/libxl/libxl_conf.c +0
-0
src/libxl/libxl_conf.c libxlDriverConfigNew(void) · line 1545
Quoted 6 lines
src/libxl/libxl_conf.c +1
-1@@ -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 );
Good idea considering the log contains info for all domains. ACK and pushed.
Regards,
Jim