From: Ewan Mellor Subject: Re: Timing out waiting for vbd device *only when xend started with trace_start* Date: Mon, 14 Nov 2005 16:31:39 +0000 Message-ID: <20051114163139.GH16045@leeni.uk.xensource.com> References: <20051114115108.GA28247@leeni.uk.xensource.com> <43789319.9090609@spamcop.net> <20051114151038.GB16045@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Charles Duffy Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Nov 14, 2005 at 10:11:27AM -0600, Charles Duffy wrote: > It might be nice if the xend trace handler were expanded to print both > current PID (or thread name) and timestamp when indicating that a line > is being executed. Ask and ye shall receive an attachment. Ewan. --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="logging-thread.patch" diff -r 6d981d34cf52 tools/python/xen/xend/XendLogging.py --- a/tools/python/xen/xend/XendLogging.py Mon Nov 14 11:28:47 2005 +++ b/tools/python/xen/xend/XendLogging.py Mon Nov 14 16:30:29 2005 @@ -42,7 +42,7 @@ DEFAULT_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 %(thread)d] %(levelname)s (%(module)s:%(lineno)d) %(message)s" DATE_FORMAT = "%Y-%m-%d %H:%M:%S" --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --lrZ03NoBR/3+SXJZ--