I need some help to customize path for alfresco.log and share.log
I built alfresco 6.1 community with SDK 3.1 and deployed on Tomcat 8.5.
Share and Alfresco logging in tomcat root path:
<tomcat_home>/alfresco.log
<tomcat_home>/share.log
I want log files only under:
<tomcat_home>/logs/alfresco.log
<tomcat_home>/logs/share.log
and rolling, of course.
I tried to add to copy
<tomcat_home>/webapps/alfresco/WEB-INF/classes/log4j.properties
under
<tomcat_home>/shared/classes/alfresco/extension/custom-log4j.properties with:
log4j.appender.File.File=./logs/alfresco.log
This configuration created alfresco.log on startup, logging only "Ignoring script patch" and finally log under <tomcat_home>./logs
The best result (without initial log "Ignoring script patch"), if I run ../bin/startup.sh under <tomcat_home>./logs (I didn't understand this behavior)
What is the best way to configure alfresco.log? I think to add custom-log4j.properties, isn't it?
But, how to configure log path for share? Can I add configuration in SDK? Where?
Can you help me?
Thanks a lot.