I've integrated P6Spy
into my Netbeans
project, and the SQL
log statements are being printed to the spy.log
file in the Tomcat
home directory. How do I get the SQL
log statements to be printed to my Tomcat
console?
Context:
- server is
Tomcat
8 - database is
MySql
- using
Hibernate
to query the database