Changing log level on runtime

18 views
Skip to first unread message

Moran Pliner Grinstein

unread,
Jun 23, 2024, 5:11:20 AMJun 23
to vert.x
Hi,

I'm trying to change the log level of my Vertx project on runtime without having to restart it and I haven't found any documentation related to this in Vertx.

On spring there is a call to actuator like in this example:

https://www.baeldung.com/spring-boot-changing-log-level-at-runtime

curl -i -X POST -H 'Content-Type: application/json' -d '{"configuredLevel": "TRACE"}' http://localhost:8080/actuator/loggers/com.baeldung.spring.boot.management.logging HTTP/1.1 204 Date: Mon, 02 Sep 2019 13:56:52 GMT

Is there a way to do so in Vertx- after the application has started?


Reply all
Reply to author
Forward
0 new messages