From patchwork Fri Dec 2 15:08:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cedric Bosdonnat X-Patchwork-Id: 9458705 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 74A6A60756 for ; Fri, 2 Dec 2016 15:11:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 684932847C for ; Fri, 2 Dec 2016 15:11:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D4742856C; Fri, 2 Dec 2016 15:11:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1937B28542 for ; Fri, 2 Dec 2016 15:11:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCpSb-0002wy-4c; Fri, 02 Dec 2016 15:09:13 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCpSa-0002vZ-BF for xen-devel@lists.xen.org; Fri, 02 Dec 2016 15:09:12 +0000 Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id D7/69-23854-79E81485; Fri, 02 Dec 2016 15:09:11 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDIsWRWlGSWpSXmKPExsVyuP0uq+70Psc Ig+7TnBZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8ahtY9YC66wVcxvnsPYwLiFtYuRi0NIYAmj RP+9fvYuRk4ONgF7ia4/R5lAbBEBaYlrny8zgtjMAiUSTec6mUFsYQE3iakXH4DVsAioSsz9v QsszitgIbFx/hk2EFtCQF5i4fkjYDWcApYSD1qug80RAqppvnGHBaJeUOLkzCdANgfQfHWJ9f OEIFbJSzRvnc08gZF3FpKqWQhVs5BULWBkXsWoUZxaVJZapGtkrpdUlJmeUZKbmJmja2hgrJe bWlycmJ6ak5hUrJecn7uJERhS9QwMjDsYW/b6HWKU5GBSEuU1zXGMEOJLyk+pzEgszogvKs1J LT7EKMPBoSTB29wLlBMsSk1PrUjLzAEGN0xagoNHSYRXFSTNW1yQmFucmQ6ROsWoy3Hg/YqnT EIsefl5qVLivEdAigRAijJK8+BGwCLtEqOslDAvIwMDgxBPQWpRbmYJqvwrRnEORiVh3n0gU3 gy80rgNr0COoIJ6IiO6/YgR5QkIqSkGhj95psE5G/uOyc5R//Gv6aANfbPpbbt6PoSmJ/aVrg uWivhm8v7jec6nl3U29/4fPacsAPfP5Vu/j2tpbrjlklEg8DtYw8vPe3jbonLCnPZN/+wmP7O L/wLb9iZyR0oFDt4h/Xl785p5z6GLCjZ+P2h1ts1YRfn6QS3LfgpGxC46vdi8/eb95irKbEUZ yQaajEXFScCALuKwgGvAgAA X-Env-Sender: cbosdonnat@suse.com X-Msg-Ref: server-10.tower-31.messagelabs.com!1480691350!73480961!1 X-Originating-IP: [195.135.221.5] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 9.0.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31009 invoked from network); 2 Dec 2016 15:09:11 -0000 Received: from smtp.nue.novell.com (HELO smtp.nue.novell.com) (195.135.221.5) by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 2 Dec 2016 15:09:11 -0000 Received: from laptop.vms (mhy71-2-88-167-63-197.fbx.proxad.net [88.167.63.197]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Fri, 02 Dec 2016 16:09:10 +0100 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= To: xen-devel@lists.xen.org Date: Fri, 2 Dec 2016 16:08:14 +0100 Message-Id: <20161202150841.31227-9-cbosdonnat@suse.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161202150841.31227-1-cbosdonnat@suse.com> References: <20161202150841.31227-1-cbosdonnat@suse.com> MIME-Version: 1.0 Cc: Ian Jackson , Wei Liu , Cedric Bosdonnat Subject: [Xen-devel] [PATCH v2 08/35] libxl/libxl_colo_nic.c: used LOG*D functions X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat Acked-by: Wei Liu --- tools/libxl/libxl_colo_nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo_nic.c b/tools/libxl/libxl_colo_nic.c index 5e0968c..a164e22 100644 --- a/tools/libxl/libxl_colo_nic.c +++ b/tools/libxl/libxl_colo_nic.c @@ -213,7 +213,7 @@ static void colo_save_setup_script_cb(libxl__egc *egc, goto out; if (hotplug_error) { - LOG(ERROR, "colo_proxy script %s setup failed for vif %s: %s", + LOGD(ERROR, domid, "colo_proxy script %s setup failed for vif %s: %s", aes->args[0], vif, hotplug_error); rc = ERROR_FAIL; goto out;