From cf8a9d9d9e446ef59700f217480da0d40af17666 Mon Sep 17 00:00:00 2001 From: Evgenii Novozhilov Date: Thu, 14 Aug 2025 00:25:46 +0300 Subject: [PATCH] jpsbootstrap: skip noisy messages on teamcity during a single build this verbose logging can produce 100mb of logs purely for initiated and processed messages. this was partially handled in VMT-MR-3078 for vm-templates, but we also have these data being logged in jpsbootstrap steps of regular builds. the information is not that valuable compared to the amount of logs it produces and started/completed should be enough to investigate problematic artifacts. (cherry picked from commit b97b277fff4a9b17cc74e81769a5c4814ec3f8a9) IJ-CR-172487 GitOrigin-RevId: 94bc0591ae6e6e6c4102058d85d56c233e23c2be --- .../src/main/java/org/jetbrains/jpsBootstrap/JpsBuild.kt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/platform/jps-bootstrap/src/main/java/org/jetbrains/jpsBootstrap/JpsBuild.kt b/platform/jps-bootstrap/src/main/java/org/jetbrains/jpsBootstrap/JpsBuild.kt index 427786941253..4fbcfedc43d0 100644 --- a/platform/jps-bootstrap/src/main/java/org/jetbrains/jpsBootstrap/JpsBuild.kt +++ b/platform/jps-bootstrap/src/main/java/org/jetbrains/jpsBootstrap/JpsBuild.kt @@ -153,8 +153,13 @@ class JpsBuild(communityRoot: BuildDependenciesCommunityRoot, private val myMode info(text) } else { - // Warnings mean little for bootstrapping - verbose(text) + if (kind == BuildMessage.Kind.PROGRESS && (text.startsWith("GET INITIATED") || text.startsWith("GET PROGRESSED"))) { + // ignore + } + else { + // Warnings mean little for bootstrapping + verbose(text) + } } }