【发布时间】:2018-11-06 04:54:14
【问题描述】:
据我们所知,我们可以使用以下请求在运行时更改日志记录级别。
curl -X "POST" "http://localhost:8080/loggers/de.springbootbuch" \
-H "Content-Type: application/json; charset=utf-8" \
-d $'{
"configuredLevel": "WARN"
}'
我想禁用在运行时更改日志记录级别。
任何帮助将不胜感激。
【问题讨论】:
-
只需禁用记录器端点。
标签: spring spring-boot spring-boot-actuator