[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] How to enable debug information?

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Weiping Guo" <wguo1990@xxxxxxxxx>
  • Date: Thu, 14 Aug 2008 16:18:34 -0400
  • Delivery-date: Thu, 14 Aug 2008 13:25:37 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=dhqzF16QxIrrtAp1KaR6u2kENP8x/in1HkkfUwatxkbZfF+oKWY/nbZjehHPTQNcNO cm3qBsoSxqy+d7nF0Eqs11vMsjy3iDUoIKLOaAszJp03UZYMYRS85evYEYp0NKvQg7Eu 2mFEPno6UYXh/MJ6s7xapzDxbtzbGp4nTdrT4=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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 )
#define DPRINTF(_f, _a...) ((void)0)

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.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.