knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pzamp...@apache.org
Subject knox git commit: KNOX-1327 - Log REST invocation error exceptions encountered during service discovery at ERROR level
Date Mon, 21 May 2018 15:55:16 GMT
Repository: knox
Updated Branches:
  refs/heads/master 27c1c0f8d -> 5f3450f74


KNOX-1327 - Log REST invocation error exceptions encountered during service discovery at ERROR
level


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/5f3450f7
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/5f3450f7
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/5f3450f7

Branch: refs/heads/master
Commit: 5f3450f743f70c214ef8aadb2c82d92bba69c1ca
Parents: 27c1c0f
Author: Phil Zampino <pzampino@apache.org>
Authored: Mon May 21 11:53:29 2018 -0400
Committer: Phil Zampino <pzampino@apache.org>
Committed: Mon May 21 11:54:44 2018 -0400

----------------------------------------------------------------------
 .../discovery/ambari/AmbariServiceDiscoveryMessages.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/5f3450f7/gateway-discovery-ambari/src/main/java/org/apache/knox/gateway/topology/discovery/ambari/AmbariServiceDiscoveryMessages.java
----------------------------------------------------------------------
diff --git a/gateway-discovery-ambari/src/main/java/org/apache/knox/gateway/topology/discovery/ambari/AmbariServiceDiscoveryMessages.java
b/gateway-discovery-ambari/src/main/java/org/apache/knox/gateway/topology/discovery/ambari/AmbariServiceDiscoveryMessages.java
index 036d7a7..dcfe79c 100644
--- a/gateway-discovery-ambari/src/main/java/org/apache/knox/gateway/topology/discovery/ambari/AmbariServiceDiscoveryMessages.java
+++ b/gateway-discovery-ambari/src/main/java/org/apache/knox/gateway/topology/discovery/ambari/AmbariServiceDiscoveryMessages.java
@@ -69,9 +69,9 @@ public interface AmbariServiceDiscoveryMessages {
              text = "REST invocation {0} timed out")
     void restInvocationTimedOut(final String url, @StackTrace(level = MessageLevel.DEBUG)
Exception e);
 
-    @Message(level = MessageLevel.DEBUG,
+    @Message(level = MessageLevel.ERROR,
              text = "REST invocation {0} failed: {1}")
-    void restInvocationError(final String url, @StackTrace(level = MessageLevel.DEBUG) Exception
e);
+    void restInvocationError(final String url, @StackTrace(level = MessageLevel.ERROR) Exception
e);
 
     @Message(level = MessageLevel.ERROR,
             text = "No address for Ambari service discovery has been configured.")


Mime
View raw message