Skip to contentSkip to conversation

How to enable toolstack logging from libxl?

DISCUSSION Sander Eikelenboom 1 participant 2 messages Aug 7, 2014

lore
Share & tools
lore
#0 lore raw

Hrmm almost ashamed to ask .. but how/were do you enable and set the loglevel for the libxl logging ?

So this stuff:
LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "Couldn't find the device on xenstore");

goes somewhere .. I don't seem to be able to get it from googling .. and it's probably too simple :-)

--
Sander

#1 lore raw
Quoted 2 lines · you

Hrmm almost ashamed to ask .. but how/were do you enable and set the loglevel for the libxl logging ?

Oh yes you definitely should be embarrassed !
libxl .. stateless toolstack .. just use xl -vvvvvvvvvvv :-) *sigh*

Quoted 8 lines

So this stuff:
LIBXL__LOG(ctx, LIBXL__LOG_ERROR, "Couldn't find the device on xenstore");

goes somewhere .. I don't seem to be able to get it from googling .. and it's probably too simple :-)

--
Sander