How to enable debug logging level.
Scott Battaglia
scott.battaglia at gmail.com
Wed Apr 30 08:05:42 EDT 2008
To enable logging you need to configure it in log4j.properties. You can
change this line:
log4j.logger.org.jasig=INFO to DEBUG
You should also check the cas.log file. Not everything may be in
catalina.out
-Scott
On Wed, Apr 30, 2008 at 4:37 AM, Unai Rodriguez <me at u-journal.org> wrote:
> Dear All,
>
> How could I enable debug logging level?
>
> My environment:
>
> - Debian Linux (sarge)
> - Apache Tomcat/5.5.23
> - CAS version 3.0.5
>
> ps aux | grep tomcat shows:
>
> ----------------------------------
> root 11012 0.6 23.6 320400 60744 pts/0 S 16:19 0:04
> /usr/lib/java/bin/java
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties
> -Djava.endorsed.dirs=/opt/tomcat/common/endorsed -classpath
> :/opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/commons-logging-api.jar
> -Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat
> -Djava.io.tmpdir=/opt/tomcat/temp org.apache.catalina.startup.Bootstrap
> start
> ----------------------------------
>
> I have tried to modify the following files:
>
> - /opt/tomcat/conf/logging.properties
> - CAS_INSTALLATION/webapp/WEB-INF/classes/log4j.properties
>
> then rebuilding CAS and restarting tomcat. The logs
> (/var/log/tomcat/catalina.out) still show INFO level only.
>
> What should I modify?
>
> Thank You So Much!!!!
> unai
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
--
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080430/65a08e12/attachment.html
More information about the cas
mailing list