I would like to activate the DEBUG logs only for CAS classes in a Tomcat 7 where I deployed cas.war
webapp.
So I followed the Tomcat 7 documentation about logging and added this in my /etc/tomcat7/logging.properties
file :
...
org.apache.catalina.level=FINEST
...
org.jasig.cas.level = ALL
But then I have all the logs of the Tomcat 7 itself (ClassLoader debug stuffs for example), and it seems I still don't have the DEBUG log for CAS...
Any idea ?
Actually, no need to modify Tomcat 7 logging.properties
file.
You have to edit WEB-INF/classes/log4j.xml
of the cas.war
and modify that line :
<logger name="org.jasig" additivity="true">
<level value="DEBUG" />
<appender-ref ref="cas" />
</logger>