Skip to content

spring boot controller log

Felix0102 edited this page Mar 2, 2020 · 2 revisions

Spring Boot 2.1之后如何在启动日志中打印请求路径列表 GetMapping

  • 在application.properties中增加下面这行配置:

logging.level.org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping=trace

Reference Link

Clone this wiki locally