Skip to content

Commit

Permalink
Merge pull request #32120 from gsmet/silence-jboss-version
Browse files Browse the repository at this point in the history
Silence JBoss version logging in QuarkusUnitTest
  • Loading branch information
gsmet committed Mar 25, 2023
2 parents 5846148 + fdb40cb commit 895d9fe
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
import io.quarkus.runner.bootstrap.StartupActionImpl;
import io.quarkus.runtime.LaunchMode;
import io.quarkus.runtime.configuration.ProfileManager;
import io.quarkus.runtime.logging.JBossVersion;
import io.quarkus.test.common.GroovyCacheCleaner;
import io.quarkus.test.common.PathTestHelper;
import io.quarkus.test.common.PropertyTestUtil;
Expand All @@ -92,6 +93,7 @@ public class QuarkusUnitTest
private Handler[] originalHandlers;

static {
JBossVersion.disableVersionLogging();
System.setProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager");
rootLogger = (Logger) LogManager.getLogManager().getLogger("");
}
Expand Down

0 comments on commit 895d9fe

Please sign in to comment.