tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael-O <>
Subject Print parameters in Tomcat JDBC Pool's SlowQueryReport
Date Wed, 08 May 2013 07:01:48 GMT

I recently have started using the SlowQueryReport to tackle performance issues. The log message,
unfortunately, does not contain the parameters passed to the prepared statements. Though AbstractQueryReport
receives this information in

protected String report*Query(String query, Object[] args, final String name, long start,
long delta)

but ignores this information. The report would highly benefit from. E.g., Commons DBUtils
prints out the query and the parameters in the case of an exception. The sole query isn't
really helpful.

Can we add this? Should I file a ticket?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message