Can I use log4jdbc?

seunghee cho 1 Reputation point
2020-08-26T11:13:27.017+00:00

spring.datasource.driverClassName=net.sf.log4jdbc.sql.jdbcapi.DriverSpy
I couldn't use this.

I am using azure mysql.
I tried to print a log using log4jdbc, but the database connection is not possible.
Can I use log4jdbc other than the functionality provided by azure?

If the function is not available, what function should I use to log?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
850 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.