This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] Print the time to xend-debug.log, when st

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Print the time to xend-debug.log, when starting or restarting Xend.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Oct 2006 16:30:16 +0000
Delivery-date: Wed, 25 Oct 2006 09:30:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 6788aedb820c7be481e23662a24a7c77fc2b7a9c
# Parent  fc68e3ef9139b5483649a6bfe87b83a8ce1e9f12
Print the time to xend-debug.log, when starting or restarting Xend.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
 tools/python/xen/xend/server/SrvDaemon.py |    3 +++
 1 files changed, 3 insertions(+)

diff -r fc68e3ef9139 -r 6788aedb820c tools/python/xen/xend/server/SrvDaemon.py
--- a/tools/python/xen/xend/server/SrvDaemon.py Wed Oct 25 13:58:30 2006 +0100
+++ b/tools/python/xen/xend/server/SrvDaemon.py Wed Oct 25 15:01:51 2006 +0100
@@ -9,6 +9,7 @@ import signal
 import signal
 import sys
 import threading
+import time
 import linecache
 import pwd
 import re
@@ -112,6 +113,8 @@ class Daemon:
             os.open('/dev/null', os.O_RDWR)
             os.open(XEND_DEBUG_LOG, os.O_WRONLY|os.O_CREAT|os.O_APPEND)
+        print >>sys.stderr, ("Xend started at %s." %
+                             time.asctime(time.localtime()))
     def start(self, trace=0):

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Print the time to xend-debug.log, when starting or restarting Xend., Xen patchbot-unstable <=