Skip to contentSkip to conversation

How to set loglevels

DISCUSSION Jae-Wan Jang 3 participants 3 messages Jun 1, 2007

lore
Share & tools
lore
#0 lore raw

Hi, folks

I want to see various logs from Xen and guest domains. I saw that 'xm dmesg' said,
(XEN) Std. Loglevel: Erros and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) .

Various locations of codes use 'gdprintk' or 'dprintk' functions for logging. Also, it uses 'XENLOG_INFO', 'XENLOG_DEBUG' or something like those.

Are there some explanations about these mass of debugging stuff? I'm so curious how to see 'dprintk' or 'gdprintk' messages in xen and guest domains.

Thank you in advance.

Signature · 4 lines
Jae-Wan Jang
[email protected]
+82-42-869-3559
http://camars.kaist.ac.kr/~jwjang
#1 lore raw

Hi,
Did you set "loglvl=all guest_loglvl=all" just after "kernel /boot/xen.gz" in your grub file? Maybe set it and reboot your system, you will see the logs.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jae-Wan Jang
Sent: 2007年6月1日 10:24
To: [email protected]; [email protected]
Subject: [Xen-devel] How to set loglevels

Hi, folks

I want to see various logs from Xen and guest domains. I saw that 'xm dmesg' said,
(XEN) Std. Loglevel: Erros and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings) .

Various locations of codes use 'gdprintk' or 'dprintk' functions for logging.
Also, it uses 'XENLOG_INFO', 'XENLOG_DEBUG' or something like those.

Are there some explanations about these mass of debugging stuff? I'm so curious how to see 'dprintk' or 'gdprintk' messages in xen and guest domains.

Thank you in advance.

Signature · 10 lines
Jae-Wan Jang
[email protected]
+82-42-869-3559
http://camars.kaist.ac.kr/~jwjang


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
#2 lore raw
Quoted 3 lines · Jingke

Hi,
Did you set "loglvl=all guest_loglvl=all" just after "kernel /boot/xen.gz"
in your grub file? Maybe set it and reboot your system, you will see the logs.

Also this is the default for debug builds of Xen.

-- Keir