This is an automated email from the ASF dual-hosted git repository.
adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 610c81046de5db122decc1a0f88948fb447b9b52
Author: Adar Dembo <adar@cloudera.com>
AuthorDate: Wed Mar 27 14:11:26 2019 -0700
java: round out log4j.properties in all modules
These modules were missing log4j.properties, which means their tests didn't
log anything. Let's fix that.
Change-Id: I162a9bb63b3d9ed4a16193be51b21098a2a34db2
Reviewed-on: http://gerrit.cloudera.org:8080/12873
Reviewed-by: Grant Henke <granthenke@apache.org>
Tested-by: Kudu Jenkins
---
.../src/test/resources/log4j.properties | 23 ++++++++++++++++++++++
.../src/test/resources/log4j.properties | 23 ++++++++++++++++++++++
.../src/test/resources/log4j.properties | 23 ++++++++++++++++++++++
3 files changed, 69 insertions(+)
diff --git a/java/kudu-client-tools/src/test/resources/log4j.properties b/java/kudu-client-tools/src/test/resources/log4j.properties
new file mode 100644
index 0000000..129752c
--- /dev/null
+++ b/java/kudu-client-tools/src/test/resources/log4j.properties
@@ -0,0 +1,23 @@
+# 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, out
+log4j.appender.out = org.apache.log4j.ConsoleAppender
+log4j.appender.out.layout = org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern = %d{HH:mm:ss.SSS} [%p - %t] (%F:%L) %m%n
+
+log4j.logger.org.apache.kudu = DEBUG
diff --git a/java/kudu-flume-sink/src/test/resources/log4j.properties b/java/kudu-flume-sink/src/test/resources/log4j.properties
new file mode 100644
index 0000000..129752c
--- /dev/null
+++ b/java/kudu-flume-sink/src/test/resources/log4j.properties
@@ -0,0 +1,23 @@
+# 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, out
+log4j.appender.out = org.apache.log4j.ConsoleAppender
+log4j.appender.out.layout = org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern = %d{HH:mm:ss.SSS} [%p - %t] (%F:%L) %m%n
+
+log4j.logger.org.apache.kudu = DEBUG
diff --git a/java/kudu-mapreduce/src/test/resources/log4j.properties b/java/kudu-mapreduce/src/test/resources/log4j.properties
new file mode 100644
index 0000000..129752c
--- /dev/null
+++ b/java/kudu-mapreduce/src/test/resources/log4j.properties
@@ -0,0 +1,23 @@
+# 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, out
+log4j.appender.out = org.apache.log4j.ConsoleAppender
+log4j.appender.out.layout = org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern = %d{HH:mm:ss.SSS} [%p - %t] (%F:%L) %m%n
+
+log4j.logger.org.apache.kudu = DEBUG
|