From: Jim Fehlig <jfehlig@novell.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] [xend] Suppress logging of "Listing domains in state " message
Date: Tue, 24 Apr 2007 15:09:51 -0600 [thread overview]
Message-ID: <462E721F.6010107@novell.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
Tools that frequently poll xend for list of domains can generate
countless "Listing domains in state foo" entries in xend.log. This
patch lowers log level of this message to trace.
Regards,
Jim
[-- Attachment #2: xend_suppress_log.patch --]
[-- Type: text/x-patch, Size: 1039 bytes --]
# HG changeset patch
# User Jim Fehlig <jfehlig@novell.com>
# Date 1177448705 21600
# Node ID ecb6bd64be4aa489eb018a79277ca8f6ae43be56
# Parent ee56c8d8864b9b5406471e6cb088547d15d68a20
Suppress rather useless logging of "Listing domains in state foo" entry in xend.log.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
diff -r ee56c8d8864b -r ecb6bd64be4a tools/python/xen/xend/server/SrvDomainDir.py
--- a/tools/python/xen/xend/server/SrvDomainDir.py Tue Apr 24 15:01:13 2007 +0100
+++ b/tools/python/xen/xend/server/SrvDomainDir.py Tue Apr 24 15:05:05 2007 -0600
@@ -191,7 +191,7 @@ class SrvDomainDir(SrvDir):
state = DOM_STATE_RUNNING
if 'state' in req.args and len(req.args['state']) > 0:
state = req.args['state'][0]
- log.debug("Listing domains in state " + str(state))
+ log.trace("Listing domains in state " + str(state))
sxp.show(self.xd.list_names(state), out=req)
else:
domains = self.xd.list_sorted()
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2007-04-24 21:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=462E721F.6010107@novell.com \
--to=jfehlig@novell.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.