Web Development

General discussion


Snoop on SQL statements with P6Log

By Mark W. Kaelin Editor ·
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?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

Built into some JDBC drivers

by whoiskevin In reply to Snoop on SQL statements w ...

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.

Related Discussions

Related Forums