You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ji...@apache.org on 2023/11/29 04:26:06 UTC
(flink) 02/08: [FLINK-26010][g3-fs-hadoop][test] add log4j2-test.properties
This is an automated email from the ASF dual-hosted git repository.
jingge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 329b9176c5425e62dc9801ec8b1f739630085eb7
Author: jingge <ge...@gmail.com>
AuthorDate: Sat Nov 25 08:11:18 2023 +0100
[FLINK-26010][g3-fs-hadoop][test] add log4j2-test.properties
---
.../src/test/resources/log4j2-test.properties | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/flink-filesystems/flink-gs-fs-hadoop/src/test/resources/log4j2-test.properties b/flink-filesystems/flink-gs-fs-hadoop/src/test/resources/log4j2-test.properties
new file mode 100644
index 00000000000..835c2ec9a3d
--- /dev/null
+++ b/flink-filesystems/flink-gs-fs-hadoop/src/test/resources/log4j2-test.properties
@@ -0,0 +1,28 @@
+################################################################################
+# 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.
+################################################################################
+
+# Set root logger level to OFF to not flood build logs
+# set manually to INFO for debugging purposes
+rootLogger.level = OFF
+rootLogger.appenderRef.test.ref = TestLogger
+
+appender.testlogger.name = TestLogger
+appender.testlogger.type = CONSOLE
+appender.testlogger.target = SYSTEM_ERR
+appender.testlogger.layout.type = PatternLayout
+appender.testlogger.layout.pattern = %-4r [%t] %-5p %c %x - %m%n