Discussion Locked

Snoop on SQL statements with P6Log

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
The Dec. 12, Java TechMail discusses P6Spy's P6Log and its ability to snoop SQL statements. Will you use P6Log to track SQL activity for debugging JDBC applications? Do you have a more efficient way?

1 reply

by whoiskevin

The JDBC drivers I use have a logging facility built in that gives this information. So check your driver before you go to the trouble of adding a new package.
The logging is turned on by just adding a log parameter to the config.

This discussion is closed to new replies.