You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2018/10/21 17:20:17 UTC

atlas git commit: ATLAS-2925: Better logging for graph database initialization error

Repository: atlas
Updated Branches:
  refs/heads/master 78e41ac25 -> f5fd57475


ATLAS-2925: Better logging for graph database initialization error

Signed-off-by: Madhan Neethiraj <ma...@apache.org>


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

Branch: refs/heads/master
Commit: f5fd57475d8aec1a41d694f9f8bd6337ab9a8560
Parents: 78e41ac
Author: Fabiano V. Santos <gm_coringa>
Authored: Sun Oct 21 10:14:10 2018 -0700
Committer: Madhan Neethiraj <ma...@apache.org>
Committed: Sun Oct 21 10:18:59 2018 -0700

----------------------------------------------------------------------
 .../java/org/apache/atlas/repository/graph/AtlasGraphProvider.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/f5fd5747/repository/src/main/java/org/apache/atlas/repository/graph/AtlasGraphProvider.java
----------------------------------------------------------------------
diff --git a/repository/src/main/java/org/apache/atlas/repository/graph/AtlasGraphProvider.java b/repository/src/main/java/org/apache/atlas/repository/graph/AtlasGraphProvider.java
index 211d2ac..5aa8033 100755
--- a/repository/src/main/java/org/apache/atlas/repository/graph/AtlasGraphProvider.java
+++ b/repository/src/main/java/org/apache/atlas/repository/graph/AtlasGraphProvider.java
@@ -101,7 +101,7 @@ public class AtlasGraphProvider implements IAtlasGraphProvider {
             } catch (Exception ex) {
                 retryCounter++;
 
-                LOG.info("Failed to obtain graph instance on retry " + retryCounter + " of " + MAX_RETRY_COUNT + " error: " + ex);
+                LOG.warn("Failed to obtain graph instance on attempt " + retryCounter + " of " + MAX_RETRY_COUNT, ex);
 
                 if (retryCounter >= MAX_RETRY_COUNT) {
                     LOG.info("Max retries exceeded.");