08-07-2019 04:56 AM
I want to delete alfresco log files timely like after 10 days or a month. Is this Possible?..
The logs will take more memory.
08-07-2019 05:59 AM
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
08-07-2019 07:41 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.