ia64/xen-unstable

changeset 10574:25cd5216b30c

[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@verge.net.au>
author kaf24@firebug.cl.cam.ac.uk
date Wed Jun 28 13:35:22 2006 +0100 (2006-06-28)
parents 224597479812
children ae245d35457b
files tools/python/xen/xend/XendLogging.py
line diff
     1.1 --- a/tools/python/xen/xend/XendLogging.py	Wed Jun 28 12:04:32 2006 +0100
     1.2 +++ b/tools/python/xen/xend/XendLogging.py	Wed Jun 28 13:35:22 2006 +0100
     1.3 @@ -43,7 +43,7 @@ MAX_BYTES = 1 << 20  # 1MB
     1.4  BACKUP_COUNT = 5
     1.5  
     1.6  STDERR_FORMAT = "[%(name)s] %(levelname)s (%(module)s:%(lineno)d) %(message)s"
     1.7 -LOGFILE_FORMAT = "[%(asctime)s %(name)s] %(levelname)s (%(module)s:%(lineno)d) %(message)s"
     1.8 +LOGFILE_FORMAT = "[%(asctime)s %(name)s %(process)d] %(levelname)s (%(module)s:%(lineno)d) %(message)s"
     1.9  DATE_FORMAT = "%Y-%m-%d %H:%M:%S"
    1.10  
    1.11