Also log the error message
Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/c7b90aa8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/c7b90aa8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/c7b90aa8 Branch: refs/heads/ranger-0.6 Commit: c7b90aa8db307b9b823eb92dab9d4535133c36b0 Parents: 7af2a1e Author: Colm O hEigeartaigh <cohei...@apache.org> Authored: Wed Jul 13 17:09:56 2016 +0100 Committer: Colm O hEigeartaigh <cohei...@apache.org> Committed: Thu Jul 21 10:47:57 2016 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/ranger/audit/provider/MiscUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/c7b90aa8/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java ---------------------------------------------------------------------- diff --git a/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java b/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java index ff4dc76..3ab390a 100644 --- a/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java +++ b/agents-audit/src/main/java/org/apache/ranger/audit/provider/MiscUtil.java @@ -640,7 +640,7 @@ public class MiscUtil { } } catch (Throwable t) { logger.fatal("Error logging as appName=" + appName + ", config=" - + config.toString()); + + config.toString() + ", error=" + t.getMessage()); } }