Logging with Spring
For simple logging to console add into app;ocation.properties logging.level.<mypacket>=DEBUG/INFO/ERROR.
From:
https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html
From:
If the only change you need to make to logging is to set the levels of various loggers then you can do that in
application.properties
using the "logging.level" prefix, e.g.logging.level.org.springframework.web=DEBUG logging.level.org.hibernate=ERROR
https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html
Comments
Post a Comment