I need to log all database access on a application.
The app uses Hibernate and IBatis to database access.
The log must have the sql command and the parameters to it.
I do not want to use the log options of hibernate and ibatis because i want to be able to read the data in a easy format. And the native log create some things I do not need and some things I need are missing.
Any idea ?