-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace INFO
with FINE
logging in CoverageOutputGenerator
#22257
Conversation
This reduces unconditional log spam for coverage report actions. If needed, users can configure the loglevel by wrapping the `CoverageOutputGenerator` jar into a `java_binary` with appropriate `jvmopts`.
I don't think this is a good way to configure logging levels, although I don't see much of an alternative without adding to Bazel's large collection of flags... |
@c-mita Are you going to create a new release after the merge? |
Yes, although I might need to review (or actually formalize) the process first. There's a long standing issue re. provenance (#15459). |
This reduces unconditional log spam for coverage report actions. If needed, users can configure the loglevel by wrapping the `CoverageOutputGenerator` jar into a `java_binary` with appropriate `jvmopts`. Closes bazelbuild#22257. PiperOrigin-RevId: 631849225 Change-Id: I3c656216b81f6a5920edf46e7ae1b8afe970faef
Would it be possible to release a remote_coverage_tools with this fix? The coverage log spam is still making our build logs pretty hard to read. |
@c-mita can you take a look? |
friendly bump on this |
@c-mita any chance this fix could make it into Bazel 8? |
Built at commit 93e76f2. Relevant changes: * Log level for many messages changed from INFO to FINE (bazelbuild#22257). * IOExceptions are no longer ignored (bazelbuild#21987). * Baseline coverage files are not ignored (bazelbuild#24563). RELNOTES: Baseline coverage files are no longer ignored.
Built at commit 93e76f2. Relevant changes: * Log level for many messages changed from INFO to FINE (bazelbuild#22257). * IOExceptions are no longer ignored (bazelbuild#21987). * Baseline coverage files are not ignored (bazelbuild#24563). RELNOTES: Baseline coverage files are no longer ignored.
Built at commit 93e76f2. Relevant changes: * Log level for many messages changed from INFO to FINE (bazelbuild#22257). * IOExceptions are no longer ignored (bazelbuild#21987). * Baseline coverage files are not ignored (bazelbuild#24563). RELNOTES: Baseline coverage files are no longer ignored.
Built at commit 93e76f2. Relevant changes: * Log level for many messages changed from INFO to FINE (bazelbuild#22257). * IOExceptions are no longer ignored (bazelbuild#21987). * Baseline coverage files are not ignored (bazelbuild#24563). RELNOTES: Baseline coverage files are no longer ignored.
Built at commit 93e76f2. Relevant changes: * Log level for many messages changed from INFO to FINE (bazelbuild#22257). * IOExceptions are no longer ignored (bazelbuild#21987). * Baseline coverage files are not ignored (bazelbuild#24563). RELNOTES: Baseline coverage files are no longer ignored.
Built at commit 93e76f2. Relevant changes: * Log level for many messages changed from INFO to FINE (bazelbuild#22257). * IOExceptions are no longer ignored (bazelbuild#21987). * Baseline coverage files are not ignored (bazelbuild#24563). RELNOTES: Baseline coverage files are no longer ignored.
Built at commit b09335b. Relevant changes: * Log level for many messages changed from INFO to FINE (bazelbuild#22257). * IOExceptions are no longer ignored (bazelbuild#21987). * Baseline coverage files are not ignored (bazelbuild#24563). RELNOTES: Baseline coverage files are no longer ignored.
This reduces unconditional log spam for coverage report actions. If needed, users can configure the loglevel by wrapping the
CoverageOutputGenerator
jar into ajava_binary
with appropriatejvmopts
.