[test framework] enable debug-level logging in build logs back

The old variant worked in log4j but didn't work since logging was to java.util.logging.

GitOrigin-RevId: 1211d833709e29235fef345c50e78f9653c124a8
This commit is contained in:
Nikolay Chashnikov
2024-07-16 13:23:52 +02:00
committed by intellij-monorepo-bot
parent f49ee04957
commit 26d4e1ddf6

View File

@@ -307,7 +307,7 @@ public final class CompilerTester {
properties.load(config);
}
properties.setProperty("log4j.rootLogger", "debug, file");
properties.setProperty(".level", "FINER");
Path logFile = logDirectory.resolve(LogSetup.LOG_CONFIG_FILE_NAME);
try (OutputStream output = new BufferedOutputStream(Files.newOutputStream(logFile))) {
properties.store(output, null);