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 3 of 3] imported patch xenstore-always-log-errors-which

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 3 of 3] imported patch xenstore-always-log-errors-which-are-not-enoent
From: Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
Date: Wed, 9 Dec 2009 11:16:21 +0000
Delivery-date: Wed, 09 Dec 2009 03:13:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1260357378@steel>
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 Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
# Date 1260356739 0
# Node ID 48d834891b973f975619417c2dd7b6bc83a7b46c
# Parent  b8fefebee7bf9a9127b67af37e68741e72c35919
imported patch xenstore-always-log-errors-which-are-not-enoent

diff -r b8fefebee7bf -r 48d834891b97 ocaml/xenstored/logging.ml
--- a/ocaml/xenstored/logging.ml        Wed Dec 09 11:05:36 2009 +0000
+++ b/ocaml/xenstored/logging.ml        Wed Dec 09 11:05:39 2009 +0000
@@ -228,7 +228,7 @@
 let xb_answer ~tid ~con ~ty data =
        let print = match ty with
                | Xb.Op.Error when is_error_kind data "ENOENT" -> !log_read_ops
-               | Xb.Op.Error -> !log_special_ops
+               | Xb.Op.Error -> true
                | Xb.Op.Watchevent -> true
                | _ -> false
        in
1 file changed, 1 insertion(+), 1 deletion(-)
ocaml/xenstored/logging.ml |    2 +-


Attachment: xen-api.hg-3.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>