devxlogo

How to log transactions details in Spring Boot

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

devx-admin

Share the Post: