Skip to content

Commit

Permalink
[hotfix] Set TestProcess logging to DEBUG
Browse files Browse the repository at this point in the history
This commit changes CommonTestUtils.printLog4jDebugConfig to set the log level to DEBUG
for easier debugging of failed tests that use the TestProcess.
  • Loading branch information
tillrohrmann committed Feb 8, 2022
1 parent 990589c commit c71a505
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public static String getJavaCommandPath() {

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");
Expand Down

0 comments on commit c71a505

Please sign in to comment.