On Oct 9, 2008, at 9:19 AM, Matthew Jones wrote:

> That confused me. There is nothing wrong with the permission on  
> those files. I've had that sort of problem before but they have the  
> correct ownership & permissions. Indeed, I even truncated both  
> cas.log and catalina.out before restarting tomcat so they were there  
> and empty and then get information written to them.

Make sure they're logging where you think they are... pardon me if you  
already covered that issue.

Its trying to write them to a subdir of the Java home directory on my  
system and I'm like NOPE! So, I hardcode the path to the tomcat log  
dir in each instance. I do that in log4j.properties, um,

% find . -name "*log4j*" -print
./webapps/cas/WEB-INF/classes/log4j.properties

yah, that's where it is. It's kinda lame that log4j doesn't have an  
easy way to read ENV variables so that it could understand  
CATALINA_HOME or CATALINA_BASE so I have to put the full path to where  
I want cas.log in the .properties file.

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to