When only slow queries must be logged rather than all queries the following setting is used in logback.xml : <logger name="jdbc.sqltiming" level="WARN"/> . However when slow queries are then logged the class name and line number of the slow query are not logged. Class name and line number are very handy information to locate the code causing the slow query. Please make it possible to also log the class name and line number in this case.
When only slow queries must be logged rather than all queries the following setting is used in logback.xml :
<logger name="jdbc.sqltiming" level="WARN"/>
. However when slow queries are then logged the class name and line number of the slow query are not logged. Class name and line number are very handy information to locate the code causing the slow query. Please make it possible to also log the class name and line number in this case.