Package: xen-utils-3.2-1
Version: 3.2.1-2
Severity: wishlist

Hi,

this morning I spend some time to find out how to log console output of Xen guest domains into a file in dom0.

I ended up using a quick 'n dirty solution:

mario:/usr/lib/xen-3.2-1/bin 0-# diff -u xend.orig xend
--- xend.orig   2009-03-02 16:49:49.000000000 +0100
+++ xend        2009-03-02 16:16:03.000000000 +0100
@@ -100,7 +100,8 @@
     import time
     time.sleep(2)
     if os.fork() == 0:
-        execute('xenconsoled')
+        args = ["--log", "guest", "--log-dir", "/var/log/xen/guest/"]
+        execute('xenconsoled', args)

 def start_blktapctrl():
     if os.fork() == 0:
mario:/usr/lib/xen-3.2-1/bin 0-#

It seems the options used to start xenconsoled cannot be configured in Debian now. /etc/init.d/xend executes /usr/lib/xen-3.2-1/bin/xend which executes xenconsoled subsequently.

Hans van Kranenburg



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to