Gentoo Archives: gentoo-java

From: Allen Lee <Allen.Lee@×××.edu>
To: gentoo-java@l.g.o
Subject: [gentoo-java] Doh - disregard the last message
Date: Tue, 27 Mar 2007 18:21:23
Message-Id: a9e244f90703271112r73e6de95tf8dd1d3d47ae2c29@mail.gmail.com
1 It turns out that webapp logging via log4j really was working, but as usual
2 I just wasn't looking in the right place. My log4j.properties file was
3 creating a RollingFileAppender at ${catalina.home}/logs/foo.log, and ${
4 catalina.home} was previously bound to /usr/share/tomcat-6 (nullifying the
5 catalina.home=/var/lib/tomcat-6 I placed in my log4j.properties) so the
6 logfiles were being generated in /usr/share/tomcat-6/logs instead of
7 /var/lib/tomcat-6/logs. Should there be Yet Another Symlink in the tomcat
8 ebuild pointing /usr/share/tomcat-6/logs -> /var/log/tomcat-6?