WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] [xend] Suppress logging of "Listing domains in state

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] [xend] Suppress logging of "Listing domains in state " message
From: Jim Fehlig <jfehlig@xxxxxxxxxx>
Date: Tue, 24 Apr 2007 15:09:51 -0600
Delivery-date: Tue, 24 Apr 2007 14:08:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (X11/20060911)
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
# HG changeset patch
# User Jim Fehlig <jfehlig@xxxxxxxxxx>
# 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@xxxxxxxxxx>

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()
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [xend] Suppress logging of "Listing domains in state " message, Jim Fehlig <=