Spring-Hibernate logging - separate log files
问题 I am using Spring & Hibernate in my application and I want to set up two different log files - one main log file all the non-sql logging and another file for writing sql queries. This is my log4j.properties file.. But while the sql log file is working as expected..the issue is that the main log file also contains sql queries.. What changes should I make here to to stop writing sql queries to main log file.. #application log properties log4j.appender.rollingFile = org.apache.log4j