Spring Cloud Config
Web Debug
Example: Log the reason a 400 bad request is being produced. This will log which ControllerAdvice method is being called.
logging.level.org.springframework.web.servlet.mvc.method.annotation=DEBUG
Database Debug
spring.jpa.show-sql=true
logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
logging.level.org.springframework.transaction=TRACE
logging.level.org.springframework.jdbc.core=TRACE
Security Debug
logging.level.org.springframework.security=DEBUG
logging.level.org.springframework.web=DEBUG
Comments are closed.