[libvirt] [PATCH] libxl: Add timestamp to the libxl driver log.

Jim Fehlig jfehlig at suse.com
Sat Jun 13 01:21:53 UTC 2015


Anthony PERARD wrote:
> Signed-off-by: Anthony PERARD <anthony.perard at citrix.com>
> ---
>  src/libxl/libxl_conf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/libxl/libxl_conf.c b/src/libxl/libxl_conf.c
> index 9b258ac..e845759 100644
> --- a/src/libxl/libxl_conf.c
> +++ b/src/libxl/libxl_conf.c
> @@ -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




More information about the libvir-list mailing list