Hi,
In file /var/lib/tomcat5.5/webapps/alfresco/WEB-INF/classes/log4j.properties, I know I can change the default location where the file alfresco.log is created but I don't want to touch it.
Is there a way to make alfresco use the file /usr/share/tomcat5.5/shared/classes/alfresco/extension/log4j.properties instead so next time I redeploy the alfresco war file, the changes made to it are not overwriten?
I tried both /usr/share/tomcat5.5/shared/classes/alfresco/extension/log4j.properties and /usr/share/tomcat5.5/shared/classes/alfresco/extension/custom-log4j.properties
But alfresco ignors them and uses /var/lib/tomcat5.5/webapps/alfresco/WEB-INF/classes/log4j.properties instead and if I don't change the line log4j.appender.File.File=alfresco.log to log4j.appender.File.File=/var/log/tomcat5.5/alfresco.log, I get error java.security.AccessControlException: access denied (java.io.FilePermission alfresco.log write).
Does anyone have an answer for this?
Thanx!