How to log transactions details in Spring Boot

To log transactions details in a Spring Boot application simply add the following settings in application.properties:

logging.level.ROOT=INFO 
logging.level.org.springframework.orm.jpa=DEBUG 
logging.level.org.springframework.transaction=DEBUG 
logging.level.org.hibernate.engine.transaction.internal.TransactionImpl=DEBUG

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Related Posts