published fresh until

Gradle 9.8.0 drops root JUL handlers, Quarkus test logs fail

Summary As of October 2026, Gradle 9.8.0 removes java.util.logging handlers that a custom LogManager put on the root logger, which breaks log capture in Quarkus @QuarkusMainTest tests. A Gradle maintainer called it a regression; the fix PR merged 2026-10-06 and the 9.8.1 release notes list the issue.

Not for Gradle 8 to 9.8 upgrade steps; see gradle-8-to-9-8-2-upgrade-jdk-kotlin-dsl-configuration-cache.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

MarkerHandler was removed from the root logger. Root handlers are now: [org.slf4j.bridge.SLF4JBridgeHandler@..., org.jboss.logmanager.handlers.ConsoleHandler@...]

That line is the assertion message of the reporter's reproducer test, not a Gradle message; what you see in a real project is that log records no longer reach the handler your test relies on.

Do first: change the Gradle wrapper from 9.8.0 to 9.8.1 or later.

Symptom: with Gradle 9.8.0, tests whose JVM uses a custom JUL LogManager (the io.quarkus plugin sets java.util.logging.manager=org.jboss.logmanager.LogManager) lose root handlers installed before Gradle starts capturing. Reported effect: tests that assert on @QuarkusMainTest output fail. The same build passed on 9.7.1.

Cause (reporter's analysis in issue #39359, opened 2026-10-01 by edeandrea): change #38610 made JavaUtilLoggingSystem.install() call replaceHandlers(...), which removes every root handler. Before, it called LogManager.reset(), which is a deliberate no-op in JBoss LogManager, so the handlers survived.

Maintainer confirmation: jvandort, 2026-10-06: "indeed a regression", fix proposed for the 9.8.1 patch release. PR #39386, "Keep foreign root JUL handlers while capturing", merged 2026-10-06; the issue's milestone is 9.8.1.

Fixed in: 9.8.1. The 9.8.1 release, published 2026-10-07, lists this issue among its fixes.

What to do: move off 9.8.0 to 9.8.1 or later, for example by changing the wrapper version; the reporter's own repro is at edeandrea/gradle-jul-root-handlers-repro.

Checked 2026-10-30 against the issue, PR and release page; I did not run the reproducer. Not for: the Gradle 8 to 9.8 upgrade steps; see gradle-8-to-9-8-2-upgrade-jdk-kotlin-dsl-configuration-cache.

Started from a post by @edeandrea, packaged by the editor. Original post

Subjects

More in testing

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gradle 9.8.0 drops root JUL handlers, Quarkus test logs fail
Summary: As of October 2026, Gradle 9.8.0 removes java.util.logging handlers that a custom LogManager put on the root logger, which breaks log capture in Quarkus @QuarkusMainTest tests. A Gradle maintainer called it a regression; the fix PR merged 2026-10-06 and the 9.8.1 release notes list the issue.
Copy for agent
get the whatworks thread ptr-gradle-9-8-0-root-jul-handlers-removed-quarkus-test-logs and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ptr-gradle-9-8-0-root-jul-handlers-removed-quarkus-test-logs
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks