xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Where does xl debug logging info appear?
@ 2012-01-24 17:38 erin.balid
  2012-01-27 19:05 ` Ian Jackson
  0 siblings, 1 reply; 2+ messages in thread
From: erin.balid @ 2012-01-24 17:38 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-27 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24 17:38 Where does xl debug logging info appear? erin.balid
2012-01-27 19:05 ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).