Hi
I'm trying configure log4j to have logs of my app in one file and logs of frameworks (spring, struts2, hibernate) in other. It's part of my log4j.xml file:
But I have for example the following lines:
[2010-04-11 13:38:15.750]INFO [main][org.apache.struts2.config.BeanSelectionProvider] Choosing bean (
struts) for interface com.opensymphony.xwork2.util.reflection.ReflectionProvider
[2010-04-11 13:38:15.015]DEBUG[main][org.hibernate.impl.SessionFactoryObjectFactory] initializing class SessionFactoryObjectFactory
[2010-04-11 13:38:15.109]DEBUG[main][org.springframework.beans.factory.support.DefaultListableBeanFactory] Finished creating instance of bean 'subtitlesParser'
in both log files, I'd like to have it only in file configured by APP_LOG2. What am I doing wrong?