My config is the standard
logging:
# The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
level: INFO
# Logger-specific levels.
loggers:
# Sets the level for 'com.example.app' to DEBUG.
com.example.app: DEBUG
# Redirects SQL logs to a separate file
org.hibernate.SQL:
level: DEBUG
I want to change the default log level for all loggers to DEBUG. I've tried the following and nothing works (say admin port is 1234):
curl -X POST -d "logger=all&level=DEBUG" localhost:1234/tasks/log-level
curl -X POST -d "level=DEBUG" localhost:1234/tasks/log-level
curl -X POST -d "logger=*&level=DEBUG" localhost:1234/tasks/log-level
When I run these with -vv, for example for logger=all, I see Configured logging level for all to DEBUG, but the tailing the log does not change, and is still INFO. Of course, if I change the config and set the top level to DEBUG, and restart, I get DEBUG level.
What's the command?