Where does xl's output go?
First of all - is it just me not seeing /var/log/xen/domain-builder-ng.log getting updated when creating domains with xl? If it is just me - are there any special things to be done?
In an attempt to debug this, I added fprintf(stderr, ...) as well as xc_report(xch, xch->error_handler, XTL_ERROR, 0, ...) calls to xc_dom_loginit(), but I'm seeing the resulting output (in /var/log/xen/xend-debug.log) only when using xend/xm - nothing on the console or elsewhere I would know to look for it. Where does xl send it?
Jan
Quoted 10 lines · Jan Beulich
First of all - is it just me not seeing
/var/log/xen/domain-builder-ng.loggetting updated when creating domains with xl? If it is just me - are there any special things to be done?In an attempt to debug this, I added
fprintf(stderr, ...)as well asxc_report(xch, xch->error_handler, XTL_ERROR, 0, ...)calls toxc_dom_loginit(), but I'm seeing the resulting output (in/var/log/xen/xend-debug.log) only when using xend/xm - nothing on the console or elsewhere I would know to look for it. Where does xl send it?
I've used "xl -vvv create ..." which casues it to go to stdout.
Some stuff gets logged to /var/log/xen/xl-<domain-name>.log after xl daemonizes but that doesn't include the builder stuff.
Ian.
Quoted 10 lines · Jan Beulich
First of all - is it just me not seeing
/var/log/xen/domain-builder-ng.loggetting updated when creating domains with xl? If it is just me - are there any special things to be done?In an attempt to debug this, I added
fprintf(stderr, ...)as well asxc_report(xch, xch->error_handler, XTL_ERROR, 0, ...)calls toxc_dom_loginit(), but I'm seeing the resulting output (in/var/log/xen/xend-debug.log) only when using xend/xm - nothing on the console or elsewhere I would know to look for it. Where does xl send it?
Simply stderr on your console.
You might need to add -v to your xl command line arguments to increase verbosity.