[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEND] Have the parent id logged in the log file, this is very useful when



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 25cd5216b30c33f8e3d74f728140ad158e60bae0
# Parent  2245974798126074c31521b0903cc7e67e8aec23
[XEND] Have the parent id logged in the log file, this is very useful when
debugging xend as it has multiple processes, and it can be hard to
work out which one is doing what without this information.

Signed-Off-By: Horms <horms@xxxxxxxxxxxx>
---
 tools/python/xen/xend/XendLogging.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 224597479812 -r 25cd5216b30c tools/python/xen/xend/XendLogging.py
--- a/tools/python/xen/xend/XendLogging.py      Wed Jun 28 12:04:32 2006 +0100
+++ b/tools/python/xen/xend/XendLogging.py      Wed Jun 28 13:35:22 2006 +0100
@@ -43,7 +43,7 @@ BACKUP_COUNT = 5
 BACKUP_COUNT = 5
 
 STDERR_FORMAT = "[%(name)s] %(levelname)s (%(module)s:%(lineno)d) %(message)s"
-LOGFILE_FORMAT = "[%(asctime)s %(name)s] %(levelname)s (%(module)s:%(lineno)d) 
%(message)s"
+LOGFILE_FORMAT = "[%(asctime)s %(name)s %(process)d] %(levelname)s 
(%(module)s:%(lineno)d) %(message)s"
 DATE_FORMAT = "%Y-%m-%d %H:%M:%S"
 
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.