Skip to contentSkip to conversation

Where does xl's output go?

DISCUSSION Jan Beulich 3 participants 3 messages Feb 11, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · Jan Beulich

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?

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.

#2 lore raw
In reply to Jan Beulich
Quoted 10 lines · Jan Beulich

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?

Simply stderr on your console.
You might need to add -v to your xl command line arguments to increase verbosity.