As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I want to delete alfresco log files timely like after 10 days or a month. Is this Possible?..
The logs will take more memory.
Yes, it is possible. You can create a cronjob to delete the log files on your required interval of time.
Another solution is the 'logrotattion' which will help you manage your logs in a better way.
Create new 'alfresco-logs' file at /etc/logrotate.d/ with the following content inside
/opt/<Alfresco-home>/tomcat/logs/catalina.out { copytruncate daily compress rotate 5 missingok size 50M}
Note: Change the path of Alfresco home in the above code.
Regards,
Kintu
ContCentric
Hi:
For other logs you can check some of the recipes on this blog post (included the above one):
Basic maintenaince of your Alfresco logs - Simple tips about Alfresco logs - zylk
Kind regards.
--C.