Just to add, if you're using Tomcat, you can reference things like
${catalina.home} or ${catalina.base} to set the location to something like
${catalina.home}/logs (I might have the syntax slightly wrong).On Tue, Jan 5, 2010 at 2:35 PM, Francisco Estanqueiro < [email protected]> wrote: > Marvin Addison wrote: > >> How can I change the cas log file path to be persistent? >>> >>> >> >> The best way to do this is to use Maven War Overlay configuration >> management method to apply a customized log4j.properties file specific >> to your environment. See >> >> http://www.ja-sig.org/wiki/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method >> for more info. You can do this without Maven War Overlay by manually >> editing the $TOMCAT_HOME/webapps/cas/WEB-INF/classes/log4j.properties >> and setting the default file appender to an absolute path of your >> choice. The problem with that approach is that you'll need to do >> manual post-deployment configuration every time you redeploy. Maven >> War Overlay configuration management avoids that. >> >> M >> >> >> > Thanks, solved. > > Francisco > > > -- > 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 > -- 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
