I know very little about Java, let alone JASIG CAS.
We are trying to implement CAS on our CentOS 6 server. We are getting the following errors:
java.io.FileNotFoundException: cas.log (Permission denied)
[...snip...]
java.io.FileNotFoundException: perfStats.log (Permission denied)
After some investigation, it seems like tomcat6
is trying to write the log files in its home directory (/usr/share/tomcat6/
). I was able to determine this by chown tomcat: /usr/share/tomcat6
and then, after a restart, the log files were created in that directory.
All the other logs though are written to /usr/share/tomcat6/logs
which is a symlink to /var/log/tomcat6
.
I want to know how do I reconfigure CAS to write these 2 log files to a different directory /usr/share/tomcat6/logs
)?