ia64/xen-unstable

changeset 3699:2ff0a18e605f

bitkeeper revision 1.1159.212.113 (4207b492G2gu92Nd8QzJaaXA-ogT4g)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
author iap10@freefall.cl.cam.ac.uk
date Mon Feb 07 18:33:54 2005 +0000 (2005-02-07)
parents 0156bb4ae3d7 b555b108ca0d
children b11e02124f71
files tools/python/xen/xend/server/SrvDaemon.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDaemon.py	Mon Feb 07 18:29:22 2005 +0000
     1.2 +++ b/tools/python/xen/xend/server/SrvDaemon.py	Mon Feb 07 18:33:54 2005 +0000
     1.3 @@ -486,10 +486,12 @@ class Daemon:
     1.4              # XXX KAF: Why doesn't this capture output from C extensions that
     1.5              # fprintf(stdout) or fprintf(stderr) ??
     1.6              os.open('/var/log/xend-debug.log', os.O_WRONLY|os.O_CREAT)
     1.7 +            os.dup(1)
     1.8          else:
     1.9              os.open('/dev/null', os.O_RDWR)
    1.10              os.dup(0)
    1.11 -        os.dup(1)
    1.12 +            os.open('/var/log/xend-debug.log', os.O_WRONLY|os.O_CREAT)
    1.13 +
    1.14          
    1.15      def start(self, trace=0):
    1.16          """Attempts to start the daemons.