Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Logging with Exposed in Spring Boot

How do you enable logging of sql queries generated by Exposed in Spring Boot?

The following do not work: logging.level.org.jetbrains.exposed.sql: DEBUG logging.level.org.jetbrains.exposed: DEBUG

like image 264
Josh B Avatar asked Jan 04 '23 14:01

Josh B


1 Answers

logging.level.Exposed: DEBUG

Put it in application.properties. It will not work without the capital E on Exposed.

like image 184
Josh B Avatar answered Jan 08 '23 07:01

Josh B