10-06-2023 07:53 AM
I have a custom-log4j2.properties which sets
appender.rolling.fileName=/opt/tomcat/updated/logs/test.log
This works, and Alfresco logs to this file (test.log, not alfresco.log). However, catalina.out is telling me that it's "Unable to create file alfresco.log java.io.IOException: Permission denied".
Question: what is trying to create 'alfresco.log'? Where is it trying to create it? How do I fix this?
10-06-2023 08:36 AM
Well, I've got half an answer. webapps/alfresco/WEB-INF/classes/log4j2.properties explicitly sets appender.rolling.fileName to 'alfresco.log'. If I replace this with an absolute path to the required file the error is fixed and logging works.
Does anyone happen to know how I over-ride this property, without explicitly changing this file?
10-11-2023 05:23 AM
Explore our Alfresco products with the links below. Use labels to filter content by product module.