[jvm-rules] Prevent JVM logging warnings and errors to stdout in jvm-builder (IJI-2740)

GitOrigin-RevId: ee417016228faeca487432cffd38a5a5b69f3e66
This commit is contained in:
Ilia Kirianovskii
2025-05-26 19:28:34 +00:00
committed by intellij-monorepo-bot
parent 71082f6f3c
commit ca054a34fa
+4
View File
@@ -11,6 +11,10 @@ def get_jvm_flags(flags):
"-XX:NonProfiledCodeHeapSize=512m",
"-XX:ProfiledCodeHeapSize=512m",
"-XX:ReservedCodeCacheSize=2048m",
# Prevent JVM logging warnings and errors to stdout because it breaks the protocol between Bazel and the worker process
"-XX:+DisplayVMOutputToStderr",
"-Xlog:disable",
"-Xlog:all=warning:stderr:uptime,level,tags",
# Headless
"-Djava.awt.headless=true",
"-Dapple.awt.UIElement=true",