Skip to contentSkip to conversation

How to enable debug information?

DISCUSSION Weiping Guo 1 participant 1 message Aug 14, 2008

lore
Share & tools
lore
#0 lore raw

Hi Everyone,

I am a newbie to the Xen. I want to understand how the blktap disk works. I found out the following files under:

tools/blktap/drivers/tapdisk.h tapdisk.c

where it has the definition of 'DPRINTF'

/*If enabled, log all debug messages to syslog*/ #if 1
#define DPRINTF(_f, _a...) syslog( LOG_DEBUG, _f , ## _a ) #else
#define DPRINTF(_f, _a...) ((void)0)
#endif

My question is how to enable the debug so that debug message can be sent to syslog? Which log file should I look into?

Thanks a lot.

Jim

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel