From: kaf24@firebug.cl.cam.ac.uk Date: Wed, 28 Jun 2006 12:35:22 +0000 (+0100) Subject: [XEND] Have the parent id logged in the log file, this is very useful when X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15912^2~58 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=38dbb81c1f239355e024e3580934030953ed825b;p=xen.git [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 --- diff --git a/tools/python/xen/xend/XendLogging.py b/tools/python/xen/xend/XendLogging.py index f26f912af5..1060e4ac85 100644 --- a/tools/python/xen/xend/XendLogging.py +++ b/tools/python/xen/xend/XendLogging.py @@ -43,7 +43,7 @@ MAX_BYTES = 1 << 20 # 1MB 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"