How to Log Transactions in Spring Boot

We can log the transactions by configuring loggers in the properties file:
logging.level.org.springframework.orm.jpa=DEBUG
logging.level.org.springframework.transaction=DEBUG
We can log the transactions by configuring loggers in the properties file:
logging.level.org.springframework.orm.jpa=DEBUG
logging.level.org.springframework.transaction=DEBUG