Blog
Grails logging/printing native SQL queries
30 Nov, 13

Grails logging/printing native SQL queries

Grails provide you to log all the hibernate queries by setting logSql=true in the DataSource.groovy file like: environments { development { dataSource { ... logSql = true } } ... But native SQL queries are not logged. To log the SQL queries add groovy.sql in you log4j...