WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] How to enable debug information?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to enable debug information?
From: "Weiping Guo" <wguo1990@xxxxxxxxx>
Date: Thu, 14 Aug 2008 16:18:34 -0400
Delivery-date: Thu, 14 Aug 2008 13:25:37 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=ynhCJbSwGOE46OgJ52fXRJiw3uvquTfrCi6jNgP9DI0=; b=lJY6Ce0pAVDrBgmAdE2iLvL7sFWP/92leOUf7i8pwOsHMp22VfwaX2tSed94+Z9aEP ILIGkB3H0KG/kT2jqQ/zAq9zTIgHigEK/VM2LSZRBvTVjfHRcvuS2Q9Gny66NnXHibKS +UfoKZkc+ulyZtg9TyW+cKip7CQ0PA4Ni8gWE=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How to enable debug information?, Weiping Guo <=