This is an old revision of the document!
Alfresco Hacking Notes
Redirect Log Output
As of 6.1.2-Community, Alfresco still uses log4j 1.x library (already end of life). Log4j configuration located inside the war file, so we need to do .war surgery. Open the deployed folder inside Tomcat, look for the file WEB-INF/classes/log4j.properties
Modify the File appender line, change into :
log4j.appender.File.File=${catalina.base}/logs/alfresco.log
The log files will be located under <TOMCAT>/logs. The same way applies to share.war as well.