You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by se...@apache.org on 2017/07/19 05:34:48 UTC

[1/2] incubator-trafodion git commit: [TRAFODION-2596] Improve the log4j and log4cxx infrastructure in Trafodion

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 <se...@esgyn.com>
Authored: Tue Jul 18 23:38:56 2017 +0000
Committer: selvaganesang <se...@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
 


[2/2] incubator-trafodion git commit: Merge PR 1186 [TRAFODION-2596] Improve the log4j and log4cxx infrastructure in Trafodion

Posted by se...@apache.org.
Merge PR 1186 [TRAFODION-2596] Improve the log4j and log4cxx infrastructure in Trafodion


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

Branch: refs/heads/master
Commit: c09549fd12f9f46aa1d914481a31938bb5e54b07
Parents: 270b04f a95615e
Author: selvaganesang <se...@apache.org>
Authored: Wed Jul 19 05:34:25 2017 +0000
Committer: selvaganesang <se...@apache.org>
Committed: Wed Jul 19 05:34:25 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(-)
----------------------------------------------------------------------