You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2022/02/08 14:21:45 UTC
[flink] 11/14: [hotfix] Set TestProcess logging to DEBUG
This is an automated email from the ASF dual-hosted git repository.
trohrmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit c71a50526e31b1aa60bda7abe3197be3d1b0faa1
Author: Till Rohrmann <tr...@apache.org>
AuthorDate: Thu Dec 30 11:16:30 2021 +0100
[hotfix] Set TestProcess logging to DEBUG
This commit changes CommonTestUtils.printLog4jDebugConfig to set the log level to DEBUG
for easier debugging of failed tests that use the TestProcess.
---
.../test/java/org/apache/flink/runtime/testutils/CommonTestUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/CommonTestUtils.java b/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/CommonTestUtils.java
index 1c459f8..2f71481 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/CommonTestUtils.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/CommonTestUtils.java
@@ -114,7 +114,7 @@ public class CommonTestUtils {
public static void printLog4jDebugConfig(File file) throws IOException {
try (PrintWriter writer = new PrintWriter(new FileWriter(file))) {
- writer.println("rootLogger.level = INFO");
+ writer.println("rootLogger.level = DEBUG");
writer.println("rootLogger.appenderRef.console.ref = ConsoleAppender");
writer.println("appender.console.name = ConsoleAppender");
writer.println("appender.console.type = CONSOLE");