[testFramework] Print paths to logs in IDE-friendly format

URIs are parsed by the IDE and allow navigation to a file with a click

GitOrigin-RevId: 9a45b833b4415eccb22961ee9d04d76b31d5807d
This commit is contained in:
Konstantin Nisht
2025-04-23 09:02:26 +00:00
committed by intellij-monorepo-bot
parent c982d156a7
commit ec5cc72fb4
@@ -114,7 +114,7 @@ public final class TestLoggerFactory implements Logger.Factory {
addConsoleAppenderForDebugRecords();
}
System.out.printf("Test log file: %s%n", logFile);
System.out.printf("Test log file: %s%n", logFile.toUri());
if (Files.exists(logFile) && Files.size(logFile) >= LOG_SIZE_LIMIT) {
Files.writeString(logFile, "");