You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2015/04/20 20:08:05 UTC

airavata git commit: configure zookeeper error logs in log4j properties - AIRAVATA-1660

Repository: airavata
Updated Branches:
  refs/heads/master 5747ec014 -> 76d4e3eeb


configure zookeeper error logs in log4j properties - AIRAVATA-1660


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

Branch: refs/heads/master
Commit: 76d4e3eebe4dc5a272bd7d3f56be50d0630c44c6
Parents: 5747ec0
Author: Chathuri Wimalasena <ka...@gmail.com>
Authored: Mon Apr 20 14:07:57 2015 -0400
Committer: Chathuri Wimalasena <ka...@gmail.com>
Committed: Mon Apr 20 14:07:57 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/airavata/api/server/AiravataAPIServer.java   | 4 ++--
 modules/configuration/client/src/main/resources/log4j.properties | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/76d4e3ee/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java
index 4574547..0bf66df 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/AiravataAPIServer.java
@@ -220,12 +220,12 @@ public class AiravataAPIServer implements IServer, Watcher{
             RegistryInitUtil.stopDerbyInServerMode();
             throw new AiravataSystemException(AiravataErrorType.INTERNAL_ERROR);
         } catch (InterruptedException e) {
-            logger.error(e.getMessage());
+            logger.debug(e.getMessage());
             setStatus(ServerStatus.FAILED);
             RegistryInitUtil.stopDerbyInServerMode();
             throw new AiravataSystemException(AiravataErrorType.INTERNAL_ERROR);
         } catch (KeeperException e) {
-            logger.error(e.getMessage());
+            logger.debug(e.getMessage());
             setStatus(ServerStatus.FAILED);
             RegistryInitUtil.stopDerbyInServerMode();
             throw new AiravataSystemException(AiravataErrorType.INTERNAL_ERROR);

http://git-wip-us.apache.org/repos/asf/airavata/blob/76d4e3ee/modules/configuration/client/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/modules/configuration/client/src/main/resources/log4j.properties b/modules/configuration/client/src/main/resources/log4j.properties
index 1a5c34d..a625c4f 100644
--- a/modules/configuration/client/src/main/resources/log4j.properties
+++ b/modules/configuration/client/src/main/resources/log4j.properties
@@ -26,6 +26,7 @@ log4j.logger.org.apache.axis2.enterprise=FATAL
 log4j.logger.de.hunsicker.jalopy.io=FATAL
 log4j.logger.httpclient.wire.header=FATAL
 log4j.logger.org.apache.commons.httpclient=FATAL
+log4j.logger.org.apache.zookeeper=FATAL
          
 # CONSOLE is set to be a ConsoleAppender using a PatternLayout.
 log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender