java - Is it possible to put all output from show_sql in a separate file? -


Developing or running a spring MVC app locally, which is used in Hibernate, it would be good if I used to have all of SQL Output for a different file.

Is this possible?

I know that a Hibernate property is show_sql but I believe that all other log4j logging information will be messed up together, right? < debug /

org.hibernate.SQL set to category And use a specific apendor for it.

Also see


Comments