trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [1/2] incubator-trafodion git commit: [TRAFODION-2596] Improve the log4j and log4cxx infrastructure in Trafodion
Date Wed, 19 Jul 2017 05:34:48 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 270b04f32 -> c09549fd1


[TRAFODION-2596] Improve the log4j and log4cxx infrastructure in Trafodion

Missed out changes in the configuration file in PR 1178


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

Branch: refs/heads/master
Commit: a95615eb49ac1e115af7d21e88a2821325ca6b86
Parents: 270b04f
Author: selvaganesang <selva.govindarajan@esgyn.com>
Authored: Tue Jul 18 23:38:56 2017 +0000
Committer: selvaganesang <selva.govindarajan@esgyn.com>
Committed: Tue Jul 18 23:38:56 2017 +0000

----------------------------------------------------------------------
 core/sqf/conf/log4cxx.trafodion.sscp.config | 7 ++-----
 core/sqf/conf/log4cxx.trafodion.tm.config   | 7 ++-----
 2 files changed, 4 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/a95615eb/core/sqf/conf/log4cxx.trafodion.sscp.config
----------------------------------------------------------------------
diff --git a/core/sqf/conf/log4cxx.trafodion.sscp.config b/core/sqf/conf/log4cxx.trafodion.sscp.config
index 7517906..4d4e5cf 100644
--- a/core/sqf/conf/log4cxx.trafodion.sscp.config
+++ b/core/sqf/conf/log4cxx.trafodion.sscp.config
@@ -28,10 +28,6 @@ trafodion.log.filename.suffix=${TRAFODION_LOG_FILENAME_SUFFIX}
 # Logging Threshold
 log4j.threshhold=ALL
 
-# Define the root logger to the system property "trafodion.root.logger".
-trafodion.root.logger=INFO, sscpAppender
-log4j.rootLogger=${trafodion.root.logger}
-
 # Rolling File Appender
 #
 log4j.appender.sscpAppender=org.apache.log4j.RollingFileAppender
@@ -41,10 +37,11 @@ log4j.appender.sscpAppender.maxBackupIndex=1
 log4j.appender.sscpAppender.addPid=false
 log4j.appender.sscpAppender.layout=org.apache.log4j.PatternLayout
 log4j.appender.sscpAppender.layout.ConversionPattern=%d, %p, %c, %m%n
+log4j.appender.sqlAppender.immediateFlush=true
 log4j.appender.sscpAppender.Append=true
 
 log4j.additivity.sscpAppender=false 
 
 #SSCP
-log4j.logger.SQL.SSCP=INFO
+log4j.logger.SQL.SSCP=INFO,sscpAppender
 

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/a95615eb/core/sqf/conf/log4cxx.trafodion.tm.config
----------------------------------------------------------------------
diff --git a/core/sqf/conf/log4cxx.trafodion.tm.config b/core/sqf/conf/log4cxx.trafodion.tm.config
index 746ec02..8c193ec 100644
--- a/core/sqf/conf/log4cxx.trafodion.tm.config
+++ b/core/sqf/conf/log4cxx.trafodion.tm.config
@@ -25,10 +25,6 @@
 trafodion.log.dir=${TRAF_HOME}/logs
 trafodion.log.filename.suffix=${TRAFODION_LOG_FILENAME_SUFFIX}
 
-# Define the root logger to the system property "trafodion.root.logger".
-trafodion.root.logger=INFO, tmAppender
-log4j.rootLogger=${trafodion.root.logger}
-
 # Logging Threshold
 log4j.threshhold=ALL
 
@@ -41,10 +37,11 @@ log4j.appender.tmAppender.maxBackupIndex=1
 log4j.appender.tmAppender.addPid=false
 log4j.appender.tmAppender.layout=org.apache.log4j.PatternLayout
 log4j.appender.tmAppender.layout.ConversionPattern=%d, %p, %c, %m%n
+log4j.appender.tmAppender.immediateFlush=true
 log4j.appender.tmAppender.Append=true
 
 log4j.additivity.tmAppender=false
 
 #TM
-log4j.logger.TM=INFO
+log4j.logger.TM=INFO,tmAppender
 


Mime
View raw message