Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0442C200B29 for ; Thu, 30 Jun 2016 14:15:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 02EA3160A52; Thu, 30 Jun 2016 12:15:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4AEC9160A51 for ; Thu, 30 Jun 2016 14:15:04 +0200 (CEST) Received: (qmail 67417 invoked by uid 500); 30 Jun 2016 12:15:03 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 67408 invoked by uid 99); 30 Jun 2016 12:15:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2016 12:15:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4B483DFF03; Thu, 30 Jun 2016 12:15:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cschneider@apache.org To: commits@cxf.apache.org Message-Id: <7c999e117dcc446092dfd049496017c0@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Make logging of missing blueprint less verbose Date: Thu, 30 Jun 2016 12:15:03 +0000 (UTC) archived-at: Thu, 30 Jun 2016 12:15:05 -0000 Repository: cxf Updated Branches: refs/heads/master 6b8a340c7 -> 9e63961bb Make logging of missing blueprint less verbose Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/9e63961b Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9e63961b Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9e63961b Branch: refs/heads/master Commit: 9e63961bb4e6920189ede33629a8c18604ba385c Parents: 6b8a340 Author: Christian Schneider Authored: Thu Jun 30 14:14:57 2016 +0200 Committer: Christian Schneider Committed: Thu Jun 30 14:14:57 2016 +0200 ---------------------------------------------------------------------- .../apache/cxf/bus/blueprint/NamespaceHandlerRegisterer.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/9e63961b/core/src/main/java/org/apache/cxf/bus/blueprint/NamespaceHandlerRegisterer.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/cxf/bus/blueprint/NamespaceHandlerRegisterer.java b/core/src/main/java/org/apache/cxf/bus/blueprint/NamespaceHandlerRegisterer.java index 463236f..14d4ced 100644 --- a/core/src/main/java/org/apache/cxf/bus/blueprint/NamespaceHandlerRegisterer.java +++ b/core/src/main/java/org/apache/cxf/bus/blueprint/NamespaceHandlerRegisterer.java @@ -44,11 +44,10 @@ public final class NamespaceHandlerRegisterer { LOG.fine("Registered blueprint namespace handler for " + namespace); } } catch (Throwable e) { - String msg = "Aries Blueprint packages not available. So namespaces will not be registered"; - if (LOG.isLoggable(Level.FINE)) { - LOG.log(Level.WARNING, msg, e); + if (e instanceof NoClassDefFoundError) { + LOG.log(Level.INFO, "Aries Blueprint packages not available. So namespaces will not be registered"); } else { - LOG.log(Level.WARNING, msg); + LOG.log(Level.WARNING, "Unexpected exception when trying to install Aries Blueprint namespaces", e); } } }