airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject airavata git commit: Add org.apache.thrift to kafkaAppender
Date Mon, 26 Sep 2016 14:56:03 GMT
Repository: airavata
Updated Branches:
  refs/heads/lahiru/AIRAVATA-2065 54c64104c -> dca136fdf


Add org.apache.thrift to kafkaAppender


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

Branch: refs/heads/lahiru/AIRAVATA-2065
Commit: dca136fdfa4b8f7f99730bc10e5cb1c4b11ef91b
Parents: 54c6410
Author: Lahiru Ginnaliya Gamathige <lahiru@apache.org>
Authored: Mon Sep 26 07:55:53 2016 -0700
Committer: Lahiru Ginnaliya Gamathige <lahiru@apache.org>
Committed: Mon Sep 26 07:55:53 2016 -0700

----------------------------------------------------------------------
 .../server/src/main/java/org/apache/airavata/server/ServerMain.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/dca136fd/modules/server/src/main/java/org/apache/airavata/server/ServerMain.java
----------------------------------------------------------------------
diff --git a/modules/server/src/main/java/org/apache/airavata/server/ServerMain.java b/modules/server/src/main/java/org/apache/airavata/server/ServerMain.java
index faba1e4..00b6486 100644
--- a/modules/server/src/main/java/org/apache/airavata/server/ServerMain.java
+++ b/modules/server/src/main/java/org/apache/airavata/server/ServerMain.java
@@ -177,6 +177,7 @@ public class ServerMain {
 				((LoggerContext) iLoggerFactory).getLogger("org.apache.zookeeper").addAppender(kafkaAppender);
 				((LoggerContext) iLoggerFactory).getLogger("org.apache.derby").addAppender(kafkaAppender);
 				((LoggerContext) iLoggerFactory).getLogger("org.apache.commons").addAppender(kafkaAppender);
+				((LoggerContext) iLoggerFactory).getLogger("org.apache.thrift").addAppender(kafkaAppender);
 			} else {
 				logger.warn("Kafka logging is enabled but cannot find logback LoggerContext, found",
iLoggerFactory.getClass().toString());
 				throw new AiravataException("Kafka logging is enabled but cannot find logback LoggerContext");


Mime
View raw message