You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JdbcTemplate parameter and result logging [SPR-9405] #14041
As this logging can be very verbose I used separate classes (and thus loggers). Continue to set logger "org.springframework.jdbc.core.JdbcTemplate" to debug to see the queries being executed and simple results. Additionally set logger "org.springframework.jdbc.core.PreparedStatementValueLogger" to debug for query parameter logging and logger "org.springframework.jdbc.core.PreparedStatementResultLogger" to debug for further query result logging.
I've implemented the change in a style that will hopefully be seen to fit and I'll issue a pull request as soon as I've completed testing and committed to my spring-framework fork. I'm happy to make further changes for this issue if necessary. Please let me know.
Thanks, David for the contribution. I'm resolving this particular issue as a duplicate of #12438. Give that issue a read and see what you think. We can continue the conversation there as to design, etc.
Hi Chris. It's a real shame I didn't see the relevance of StatementCreatorUtils earlier. I'll look more closely and then comment further. Thanks for the quick response.
Activity
spring-projects-issues commentedon May 14, 2012
David Thexton commented
Made pull request (see #78).
spring-projects-issues commentedon May 14, 2012
Chris Beams commented
Thanks, David for the contribution. I'm resolving this particular issue as a duplicate of #12438. Give that issue a read and see what you think. We can continue the conversation there as to design, etc.
spring-projects-issues commentedon May 14, 2012
David Thexton commented
Hi Chris. It's a real shame I didn't see the relevance of StatementCreatorUtils earlier. I'll look more closely and then comment further. Thanks for the quick response.
spring-projects-issues commentedon May 21, 2012
David Thexton commented
I've had a read and commented on #12438. Thanks.