For the MS-SQL serverSQL Server driver (Microsoft SQL Server JDBCJDBC Driver).
, try using:
logging.level.com.microsoft.sqlserver.jdbc=debug in your application.properties file.
My personal preference is to set:
logging.level.com.microsoft.sqlserver.jdbc=info logging.level.com.microsoft.sqlserver.jdbc.internals=debug You can look at these links for reference: