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

[Xen-API] [PATCH 07 of 11] CA-35165: Remove some pointless and frequent

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 07 of 11] CA-35165: Remove some pointless and frequent logging
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Mon, 30 Nov 2009 15:40:59 +0000
Delivery-date: Mon, 30 Nov 2009 07:40:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1259595652@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1259595425 0
# Node ID 5ccfa2ab41877451e99075815c155eb3bbb7229f
# Parent  d92c3fc8e193282a67da4e921f3159165313f31d
CA-35165: Remove some pointless and frequent logging.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r d92c3fc8e193 -r 5ccfa2ab4187 ocaml/xapi/helpers.ml
--- a/ocaml/xapi/helpers.ml     Mon Nov 30 15:37:04 2009 +0000
+++ b/ocaml/xapi/helpers.ml     Mon Nov 30 15:37:05 2009 +0000
@@ -257,14 +257,12 @@
     try
       begin
         (* initially, try to parse lbr using new default sexpr format *)
-        debug "parsing lbr using sexpr";
         API.From.vM_t "ret_val" (Xmlrpc_sexpr.sexpr_str_to_xmlrpc lbr)
       end
     with
       (* xapi import/upgrade fallback: if sexpr parsing fails, try parsing 
using legacy xmlrpc format*)
       Api_errors.Server_error (code,_) when code=Api_errors.field_type_error 
-> 
         begin
-          debug "parsing lbr using legacy xmlrpc";
           API.From.vM_t "ret_val" (Xml.parse_string lbr)
         end
   with e -> 
1 file changed, 2 deletions(-)
ocaml/xapi/helpers.ml |    2 --


Attachment: xen-api.hg-11.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>