2010/9/10 Marvin Addison <[email protected]>: >> OK, I've been reading up on log4j a bit - there is a logger in log4j.xml >> "org.jasig" which I set to DEBUG, unfortunately there must still be >> something wrong because cas.log isn't even created. It's nowhere to be >> found on the system even though I tried setting the location explicitly >> to /var/log/tomcat5.5. > > The user that spawns the Tomcat Java process must have privileges to > write the file. By default the cas.log file is written to the current > working directory of the Java process. It's far better to log to a > well-known log file location such as under /var/log, as you noted. > Just check the permissisons of the tomcat5.5 directory to ensure that > the Java process user can write there.
Yes, off course. /var/log/tomcat5.5 is owne by the user running tomcat - it's where the other tomcat log files are written. -- Frank Van Damme No part of this copyright message may be reproduced, read or seen, dead or alive or by any means, including but not limited to telepathy without the benevolence of the author. -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
