[Pkg-xen-devel] Bug#517863: Make logging of guest console output in	dom0 via xenconsoled configurable
    Hans van Kranenburg 
    hans.van.kranenburg at mendix.com
       
    Mon Mar  2 15:52:51 UTC 2009
    
    
  
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
    
    
More information about the Pkg-xen-devel
mailing list