How configure SLF4 using vertx 4.x.x and Java 11

280 views
Skip to first unread message

Willandher Goyo

unread,
Aug 29, 2021, 9:08:07 PM8/29/21
to vert.x
Hi guys , I hope that everything is ok , I have a question for you, how to do the configuration the logs in Vertx 4.1.2 ? I am using java 11 and I add the following configuration. 

-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory -Dvertx.disableDnsResolver=true -Dlogback.configurationFile=/src/main/resources/logback.xml
but doesn't  work. when I do it with vertx 3.x.x and java 8, it works perfectly.

Thomas SEGISMONT

unread,
Aug 30, 2021, 4:07:08 AM8/30/21
to vert.x
Hi,

Starting with 4.0.0, it is no longer required to use the sysprop, Vert.x will pick the logging impl that is available.
Yet the sysprop is still supported to force selection when several implementations are available.

I'm not sure what's the problem. Can you create a small reproducer so that we try it out?

Thank you

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/c3c659ec-0f40-49b5-b553-e6b1a827b04cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages