All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [xend] Suppress logging of "Listing domains in state " message
@ 2007-04-24 21:09 Jim Fehlig
  0 siblings, 0 replies; only message in thread
From: Jim Fehlig @ 2007-04-24 21:09 UTC (permalink / raw)
  To: xen-devel

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-24 21:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24 21:09 [PATCH] [xend] Suppress logging of "Listing domains in state " message Jim Fehlig

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.