Repository: atlas Updated Branches: refs/heads/branch-1.0 f72183da5 -> 95ac4f489
ATLAS-2925: Better logging for graph database initialization error Signed-off-by: Madhan Neethiraj <[email protected]> (cherry picked from commit f5fd57475d8aec1a41d694f9f8bd6337ab9a8560) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/95ac4f48 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/95ac4f48 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/95ac4f48 Branch: refs/heads/branch-1.0 Commit: 95ac4f489ec0cef979a1968ad163a52721b50a71 Parents: f72183d Author: Fabiano V. Santos <gm_coringa> Authored: Sun Oct 21 10:14:10 2018 -0700 Committer: Madhan Neethiraj <[email protected]> Committed: Sun Oct 21 10:22:05 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/95ac4f48/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.");
