Bug 51237

Summary: SlowQueryReport interceptor does not log anything
Product: Tomcat Modules Reporter: hay_dave
Component: jdbc-poolAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal CC: lucas.pouzac.pro
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description hay_dave 2011-05-20 22:01:35 UTC
The documentation I've seen for the SlowQueryInterceptor (http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html#org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport) indicate that it is supposed to log a message with level WARN when a slow query is detected or there is a failure.  However, it appears that no logging is ever done.  reportSlowQuery and reportFailedQuery simply record the event with the QueryStats object.  No call to the logging framework is ever made.
Comment 1 Filip Hanik 2012-03-20 14:02:32 UTC
Fixed in r1302902