ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject incubator-ranger git commit: RANGER-583 changed test/resources/log4j.properties files to remove warning during maven test phase
Date Wed, 05 Aug 2015 19:08:21 GMT
Repository: incubator-ranger
Updated Branches:
  refs/heads/master edf2af7aa -> 68a4352b3


RANGER-583 changed test/resources/log4j.properties files to remove warning during maven test
phase


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

Branch: refs/heads/master
Commit: 68a4352b3e2ee3ba6c2f9904104641b7a387065b
Parents: edf2af7
Author: Alok Lal <alal@hortonworks.com>
Authored: Tue Jul 28 14:41:15 2015 -0700
Committer: Alok Lal <alok@apache.org>
Committed: Wed Aug 5 12:02:43 2015 -0700

----------------------------------------------------------------------
 agents-common/src/test/resources/log4j.properties  |  3 +--
 agents-cred/src/test/resources/log4j.properties    | 16 ++++++++++++++++
 hbase-agent/src/test/resources/log4j.properties    |  5 ++---
 hive-agent/src/test/resource/log4j.properties      |  9 ++++++---
 security-admin/src/test/resources/log4j.properties |  3 +--
 5 files changed, 26 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/68a4352b/agents-common/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/agents-common/src/test/resources/log4j.properties b/agents-common/src/test/resources/log4j.properties
index bd8197d..cb409e8 100644
--- a/agents-common/src/test/resources/log4j.properties
+++ b/agents-common/src/test/resources/log4j.properties
@@ -15,12 +15,11 @@
 
 ##-- To prevent junits from cluttering the build run by default all test runs send output
to null appender 
 log4j.appender.devnull=org.apache.log4j.varia.NullAppender
-log4j.rootLogger=FATAL, devnull
+ranger.root.logger=FATAL,devnull
 
 ##-- uncomment the following line during during development/debugging so see debug messages
during test run to be emitted to console
 # ranger.root.logger=DEBUG,console
 
-# Define the root logger to the system property "hbase.root.logger".
 log4j.rootLogger=${ranger.root.logger}
 
 # Logging Threshold

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/68a4352b/agents-cred/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/agents-cred/src/test/resources/log4j.properties b/agents-cred/src/test/resources/log4j.properties
new file mode 100644
index 0000000..c2463a7
--- /dev/null
+++ b/agents-cred/src/test/resources/log4j.properties
@@ -0,0 +1,16 @@
+# Define some default values that can be overridden by system properties
+ranger.root.logger=FATAL,console
+# Define the root logger to the system property "hbase.root.logger".
+log4j.rootLogger=${ranger.root.logger}
+
+# Logging Threshold
+log4j.threshold=ALL
+
+#
+# console
+# Add "console" to rootlogger above if you want to use this
+#
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.target=System.err
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/68a4352b/hbase-agent/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/hbase-agent/src/test/resources/log4j.properties b/hbase-agent/src/test/resources/log4j.properties
index 12e172b..cb409e8 100644
--- a/hbase-agent/src/test/resources/log4j.properties
+++ b/hbase-agent/src/test/resources/log4j.properties
@@ -15,12 +15,11 @@
 
 ##-- To prevent junits from cluttering the build run by default all test runs send output
to null appender 
 log4j.appender.devnull=org.apache.log4j.varia.NullAppender
-log4j.rootLogger=FATAL, devnull
+ranger.root.logger=FATAL,devnull
 
 ##-- uncomment the following line during during development/debugging so see debug messages
during test run to be emitted to console
-# ranger.root.logger=WARN,console
+# ranger.root.logger=DEBUG,console
 
-# Define the root logger to the system property "hbase.root.logger".
 log4j.rootLogger=${ranger.root.logger}
 
 # Logging Threshold

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/68a4352b/hive-agent/src/test/resource/log4j.properties
----------------------------------------------------------------------
diff --git a/hive-agent/src/test/resource/log4j.properties b/hive-agent/src/test/resource/log4j.properties
index c44bc46..f7ab2ba 100644
--- a/hive-agent/src/test/resource/log4j.properties
+++ b/hive-agent/src/test/resource/log4j.properties
@@ -13,9 +13,12 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Define some default values that can be overridden by system properties
-ranger.root.logger=INFO,console
-# Define the root logger to the system property "hbase.root.logger".
+##-- To prevent junits from cluttering the build run by default all test runs send output
to null appender
+log4j.appender.devnull=org.apache.log4j.varia.NullAppender
+ranger.root.logger=FATAL,devnull
+
+##-- uncomment the following line during during development/debugging so see debug messages
during test run to be emitted to console
+# ranger.root.logger=DEBUG,console
 log4j.rootLogger=${ranger.root.logger}
 
 # Logging Threshold

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/68a4352b/security-admin/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/security-admin/src/test/resources/log4j.properties b/security-admin/src/test/resources/log4j.properties
index bd8197d..cb409e8 100644
--- a/security-admin/src/test/resources/log4j.properties
+++ b/security-admin/src/test/resources/log4j.properties
@@ -15,12 +15,11 @@
 
 ##-- To prevent junits from cluttering the build run by default all test runs send output
to null appender 
 log4j.appender.devnull=org.apache.log4j.varia.NullAppender
-log4j.rootLogger=FATAL, devnull
+ranger.root.logger=FATAL,devnull
 
 ##-- uncomment the following line during during development/debugging so see debug messages
during test run to be emitted to console
 # ranger.root.logger=DEBUG,console
 
-# Define the root logger to the system property "hbase.root.logger".
 log4j.rootLogger=${ranger.root.logger}
 
 # Logging Threshold


Mime
View raw message