Skip to content

Commit 1dc68fe

Browse files
joaodinissfclaude
andcommitted
fix: suppress SLF4J startup warning in Tycho test runtime
Set -Dslf4j.internal.verbosity=ERROR in the Tycho Surefire argLine. SLF4J 2.x uses ServiceLoader for provider discovery, which doesn't work across OSGi classloaders — the warning is cosmetic (SLF4J defaults to NOP regardless). This is the documented suppression mechanism since SLF4J 2.0.10. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9a8dbe3 commit 1dc68fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • com.avaloq.tools.ddk.xtext.test

com.avaloq.tools.ddk.xtext.test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<useUIThread>false</useUIThread>
2525
<useUIHarness>true</useUIHarness>
2626
<forkedProcessTimeoutInSeconds>${test.timeout}</forkedProcessTimeoutInSeconds>
27-
<argLine>-Dlogback.configurationFile="${runtime.logbackConfig}" ${test.javaOptions}</argLine>
27+
<argLine>-Dslf4j.internal.verbosity=ERROR -Dlogback.configurationFile="${runtime.logbackConfig}" ${test.javaOptions}</argLine>
2828
<appArgLine>-pluginCustomization ${runtime.pluginCustomization}</appArgLine>
2929
<product>${runtime.product}</product>
3030
<application>org.eclipse.ui.ide.workbench</application>

0 commit comments

Comments
 (0)