tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject incubator-tinkerpop git commit: Added more to the silent logging configs.
Date Fri, 04 Dec 2015 15:30:32 GMT
Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/TINKERPOP3-860 b27a30b2e -> bdb8015f5


Added more to the silent logging configs.

Seems like not providing an appender was causing errors in the hadoop tests thus forcing maven
to choose a different log4j.properties on the path - weird. Adding a default appender (even
though logging is OFF) seemed to make the difference and get "silent" working right.


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

Branch: refs/heads/TINKERPOP3-860
Commit: bdb8015f550e12cdba3b8b4996099b28a96b808c
Parents: b27a30b
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Fri Dec 4 10:28:42 2015 -0500
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Fri Dec 4 10:28:42 2015 -0500

----------------------------------------------------------------------
 giraph-gremlin/src/test/resources/log4j-silent.properties     | 7 ++++++-
 gremlin-console/src/test/resources/log4j-silent.properties    | 7 ++++++-
 gremlin-core/src/test/resources/log4j-silent.properties       | 7 ++++++-
 gremlin-driver/src/test/resources/log4j-silent.properties     | 7 ++++++-
 gremlin-groovy/src/test/resources/log4j-silent.properties     | 7 ++++++-
 gremlin-server/src/test/resources/log4j-silent.properties     | 7 ++++++-
 gremlin-test/src/test/resources/log4j-silent.properties       | 7 ++++++-
 hadoop-gremlin/src/test/resources/log4j-silent.properties     | 7 ++++++-
 neo4j-gremlin/src/test/resources/log4j-silent.properties      | 7 ++++++-
 spark-gremlin/src/test/resources/log4j-silent.properties      | 7 ++++++-
 .../src/test/resources/log4j-silent.properties                | 7 ++++++-
 11 files changed, 66 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/giraph-gremlin/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/giraph-gremlin/src/test/resources/log4j-silent.properties b/giraph-gremlin/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/giraph-gremlin/src/test/resources/log4j-silent.properties
+++ b/giraph-gremlin/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/gremlin-console/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/gremlin-console/src/test/resources/log4j-silent.properties b/gremlin-console/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/gremlin-console/src/test/resources/log4j-silent.properties
+++ b/gremlin-console/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/gremlin-core/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/gremlin-core/src/test/resources/log4j-silent.properties b/gremlin-core/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/gremlin-core/src/test/resources/log4j-silent.properties
+++ b/gremlin-core/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/gremlin-driver/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/gremlin-driver/src/test/resources/log4j-silent.properties b/gremlin-driver/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/gremlin-driver/src/test/resources/log4j-silent.properties
+++ b/gremlin-driver/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/gremlin-groovy/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/test/resources/log4j-silent.properties b/gremlin-groovy/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/gremlin-groovy/src/test/resources/log4j-silent.properties
+++ b/gremlin-groovy/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/gremlin-server/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/gremlin-server/src/test/resources/log4j-silent.properties b/gremlin-server/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/gremlin-server/src/test/resources/log4j-silent.properties
+++ b/gremlin-server/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/gremlin-test/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/gremlin-test/src/test/resources/log4j-silent.properties b/gremlin-test/src/test/resources/log4j-silent.properties
index 9d4f1d4..ce0647e 100644
--- a/gremlin-test/src/test/resources/log4j-silent.properties
+++ b/gremlin-test/src/test/resources/log4j-silent.properties
@@ -15,7 +15,12 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
 
 # need to turn this on as this test actually tests "logging" - needs INFO at minimum for
tests to pass
 log4j.logger.org.apache.tinkerpop.gremlin.util.Log4jRecordingAppenderTest=INFO
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/hadoop-gremlin/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/hadoop-gremlin/src/test/resources/log4j-silent.properties b/hadoop-gremlin/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/hadoop-gremlin/src/test/resources/log4j-silent.properties
+++ b/hadoop-gremlin/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/neo4j-gremlin/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/neo4j-gremlin/src/test/resources/log4j-silent.properties b/neo4j-gremlin/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/neo4j-gremlin/src/test/resources/log4j-silent.properties
+++ b/neo4j-gremlin/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/spark-gremlin/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/spark-gremlin/src/test/resources/log4j-silent.properties b/spark-gremlin/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/spark-gremlin/src/test/resources/log4j-silent.properties
+++ b/spark-gremlin/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/bdb8015f/tinkergraph-gremlin/src/test/resources/log4j-silent.properties
----------------------------------------------------------------------
diff --git a/tinkergraph-gremlin/src/test/resources/log4j-silent.properties b/tinkergraph-gremlin/src/test/resources/log4j-silent.properties
index 9c6148d..1825bb0 100644
--- a/tinkergraph-gremlin/src/test/resources/log4j-silent.properties
+++ b/tinkergraph-gremlin/src/test/resources/log4j-silent.properties
@@ -15,4 +15,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
-log4j.rootLogger=OFF
\ No newline at end of file
+# this file should always have logging set to OFF.  it seems, however, that an appender of
some sort is
+# required or else some logs throw error and use other log4j.properties files on the path.
+log4j.rootLogger=OFF, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%p] %C - %m%n
\ No newline at end of file


Mime
View raw message