xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: erin.balid@inoutbox.com
To: xen-devel@lists.xensource.com
Subject: Where does xl debug logging info appear?
Date: Tue, 24 Jan 2012 09:38:16 -0800	[thread overview]
Message-ID: <1327426696.16492.140661027458613@webmail.messagingengine.com> (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

             reply	other threads:[~2012-01-24 17:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 17:38 erin.balid [this message]
2012-01-27 19:05 ` Where does xl debug logging info appear? Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1327426696.16492.140661027458613@webmail.messagingengine.com \
    --to=erin.balid@inoutbox.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).