ia64/xen-unstable

changeset 12199:59ac1e90f1ac

Print the time to xend-debug.log, when starting or restarting Xend.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Wed Oct 25 15:01:51 2006 +0100 (2006-10-25)
parents 09aa7ed2431f
children d029684fd1fa
files tools/python/xen/xend/server/SrvDaemon.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDaemon.py	Wed Oct 25 11:44:58 2006 +0100
     1.2 +++ b/tools/python/xen/xend/server/SrvDaemon.py	Wed Oct 25 15:01:51 2006 +0100
     1.3 @@ -9,6 +9,7 @@ import os
     1.4  import signal
     1.5  import sys
     1.6  import threading
     1.7 +import time
     1.8  import linecache
     1.9  import pwd
    1.10  import re
    1.11 @@ -112,6 +113,8 @@ class Daemon:
    1.12              os.open('/dev/null', os.O_RDWR)
    1.13              os.dup(0)
    1.14              os.open(XEND_DEBUG_LOG, os.O_WRONLY|os.O_CREAT|os.O_APPEND)
    1.15 +        print >>sys.stderr, ("Xend started at %s." %
    1.16 +                             time.asctime(time.localtime()))
    1.17  
    1.18          
    1.19      def start(self, trace=0):