Skip to contentSkip to conversation

Where does xl debug logging info appear?

DISCUSSION [email protected] 2 participants 2 messages Jan 24, 2012 – Jan 27, 2012

lore
Share & tools
lore
#0 lore raw

Hi All.

Following instructions in another thread, I've added a bunch of "log debug ..." breadcrumbs in the vif-bridge script.

Now I'm trying to *see* those breadcrumbs when I "xl create" a Guest.

But

export XEND_DEBUG=1
xl create test.cfg
ls -al /var/log/xen/*debug*
ls: cannot access /var/log/xen/*debug*: No such file or directory

xl destroy test

service xend start
xm create test.cfg
ls -al /var/log/xen/*debug*
-rw-r--r-- 1 root root 835 Jan 24 09:32 /var/log/xen/xend-debug.log

cat /var/log/xen/xend-debug.log
Xend started at Tue Jan 24 09:30:59 2012.
Exception starting xend: [Errno 32] Broken pipe
Traceback (most recent call last):
File "/usr/sbin/xend", line 110, in <module>

     sys.exit(main())
   File "/usr/sbin/xend", line 92, in main
     return daemon.start()
   File
   "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py",
   line 234, in start
     self.run(w and os.fdopen(w, 'w') or None)
   File
   "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py",
   line 351, in run
     status.write('1')

ValueError: I/O operation on closed file
Xend started at Tue Jan 24 09:31:35 2012.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/xen/xend/server/Hald.py", line 55, in shutdown
os.kill(self.pid, signal.SIGINT)
OSError: [Errno 3] No such process
Xend started at Tue Jan 24 09:32:05 2012.

xm console test
login ...
ping -c1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=55 time=13.7 ms

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 13.711/13.711/13.711/0.000 ms

Erin

#1 lore raw

[email protected] writes ("[Xen-devel] Where does xl debug logging info appear?"):

Quoted 4 lines

Following instructions in another thread, I've added a bunch of "log debug ..." breadcrumbs in the vif-bridge script.

Now I'm trying to *see* those breadcrumbs when I "xl create" a Guest.

/var/log/xen/*hotplug* ?

Ian.