You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@griffin.apache.org by gu...@apache.org on 2017/11/01 03:06:18 UTC
[07/31] incubator-griffin git commit: fix logging level issue from
Travis ci
fix logging level issue from Travis ci
Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin/commit/9a2fe6b1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin/tree/9a2fe6b1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin/diff/9a2fe6b1
Branch: refs/heads/griffin-0.1.6-incubating-rc1
Commit: 9a2fe6b17bd815289bf8385a042355bfc0827e56
Parents: 800ef44
Author: William Guo <gu...@icloud.com>
Authored: Thu Jul 20 14:39:14 2017 +0800
Committer: William Guo <gu...@icloud.com>
Committed: Thu Jul 20 14:39:14 2017 +0800
----------------------------------------------------------------------
measure/src/test/resources/log4j.properties | 25 --------------------
.../test/resources/application-test.properties | 6 ++++-
.../src/test/resources/application.properties | 8 ++++++-
3 files changed, 12 insertions(+), 27 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/9a2fe6b1/measure/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/measure/src/test/resources/log4j.properties b/measure/src/test/resources/log4j.properties
deleted file mode 100644
index ff9399b..0000000
--- a/measure/src/test/resources/log4j.properties
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-
-log4j.rootLogger=INFO, stdout
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.Target=System.out
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p [%c] - %m%n
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/9a2fe6b1/service/src/test/resources/application-test.properties
----------------------------------------------------------------------
diff --git a/service/src/test/resources/application-test.properties b/service/src/test/resources/application-test.properties
index 7d93f37..ea9d83d 100644
--- a/service/src/test/resources/application-test.properties
+++ b/service/src/test/resources/application-test.properties
@@ -75,4 +75,8 @@ hive.metastore.uris = thrift://10.9.246.187:9083
hive.metastore.dbname = default
# kafka schema registry
-kafka.schema.registry.url = http://10.65.159.119:8081
\ No newline at end of file
+kafka.schema.registry.url = http://10.65.159.119:8081
+
+#logging level
+logging.level.org.springframework=DEBUG
+logging.level.org.hibernate=ERROR
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/9a2fe6b1/service/src/test/resources/application.properties
----------------------------------------------------------------------
diff --git a/service/src/test/resources/application.properties b/service/src/test/resources/application.properties
index 1bdce71..755e449 100644
--- a/service/src/test/resources/application.properties
+++ b/service/src/test/resources/application.properties
@@ -36,4 +36,10 @@ hive.metastore.uris = thrift://10.9.246.187:9083
hive.metastore.dbname = default
# kafka schema registry
-kafka.schema.registry.url = http://10.65.159.119:8081
\ No newline at end of file
+kafka.schema.registry.url = http://10.65.159.119:8081
+
+#logging level
+logging.level.root=ERROR
+logging.level.org.hibernate=ERROR
+logging.level.org.springframework.test=ERROR
+logging.file=target/test.log
\ No newline at end of file