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 93499df6e98 KAFKA-18924 Running the storage module tests produces a
storage/storage.log file (#19147)
93499df6e98 is described below
commit 93499df6e98106662a87ba587b6f49be9f73e335
Author: Ken Huang <[email protected]>
AuthorDate: Sat Mar 15 05:20:45 2025 +0800
KAFKA-18924 Running the storage module tests produces a storage/storage.log
file (#19147)
Change log4j2 logging directory to `build/kafka-storage-test/`
Reviewers: Sanskar Jhajharia <[email protected]>, Chia-Ping Tsai
<[email protected]>
---
storage/src/test/resources/log4j2.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/storage/src/test/resources/log4j2.yaml
b/storage/src/test/resources/log4j2.yaml
index e2050ad723d..2d017d3b58c 100644
--- a/storage/src/test/resources/log4j2.yaml
+++ b/storage/src/test/resources/log4j2.yaml
@@ -28,8 +28,8 @@ Configuration:
pattern: "${logPattern}"
RollingFile:
- name: FileAppender
- fileName: storage.log
- filePattern: "storage-%d{yyyy-MM-dd}.log"
+ fileName: build/kafka-storage-test/storage.log
+ filePattern: "build/kafka-storage-test/storage-%d{yyyy-MM-dd}.log"
PatternLayout:
pattern: "${fileLogPattern}"
TimeBasedTriggeringPolicy: