[libvirt] [PATCH] libxl: Create per-domain log file

Michal Privoznik mprivozn at redhat.com
Fri Aug 9 12:58:11 UTC 2013


On 09.08.2013 01:41, Jim Fehlig wrote:
> Currently, only one log file is created by the libxl driver, with
> all output from libxl for all domains going to this one file.
> 
> Create a per-domain log file based on domain name, making sifting
> through the logs a bit easier.  This required deferring libxl_ctx
> allocation until starting the domain, which is fine since the
> ctx is not used when the domain is inactive.
> ---
>  src/libxl/libxl_conf.h   |  5 +--
>  src/libxl/libxl_driver.c | 88 +++++++++++++++++++++++++++++-------------------
>  2 files changed, 57 insertions(+), 36 deletions(-)
> 

ACK

Michal




More information about the libvir-list mailing list