Bug 51237 - SlowQueryReport interceptor does not log anything
Summary: SlowQueryReport interceptor does not log anything
Alias: None
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal with 10 votes (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2011-05-20 22:01 UTC by hay_dave
Modified: 2012-03-20 14:02 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
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