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
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.