This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 68ecb7720fe MINOR: add log4j2.yaml to clients-integration-tests module 
(#19252)
68ecb7720fe is described below

commit 68ecb7720fe0171f1c524fa33b2a5814a9fc771e
Author: Ken Huang <[email protected]>
AuthorDate: Sat Mar 22 02:19:54 2025 +0800

    MINOR: add log4j2.yaml to clients-integration-tests module (#19252)
    
    `clients-integration-tests` modules doesn't have the `log4j2.yaml` to
    setting log, thus we should add.
    
    Reviewers: TengYao Chi <[email protected]>, Chia-Ping Tsai
    <[email protected]>
---
 .../src/test/resources/log4j2.yaml                 | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/clients/clients-integration-tests/src/test/resources/log4j2.yaml 
b/clients/clients-integration-tests/src/test/resources/log4j2.yaml
new file mode 100644
index 00000000000..9825ef7c7d7
--- /dev/null
+++ b/clients/clients-integration-tests/src/test/resources/log4j2.yaml
@@ -0,0 +1,38 @@
+# 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.
+
+Configuration:
+  Properties:
+    Property:
+      - name: "logPattern"
+        value: "[%d] %p %m (%c:%L)%n"
+
+  Appenders:
+    Console:
+      name: STDOUT
+      PatternLayout:
+        pattern: "${logPattern}"
+
+  Loggers:
+    Root:
+      level: OFF
+      AppenderRef:
+        - ref: STDOUT
+    Logger:
+      - name: kafka
+        level: WARN
+
+      - name: org.apache.kafka
+        level: WARN
\ No newline at end of file

Reply via email to