Log file size threshold (auto-delete)

6 views
Skip to first unread message

xybrek

unread,
Mar 31, 2018, 8:31:51 PM3/31/18
to AppScale Community
Hello,

Is there a way to delete all Appscale logs if the log folder or files size is too big already (e.g. 1GB logs), our Appscale deployment in Jelastic Docker have 20GB disk space and right now it is has consumed 10GB or disk we need to know if there a way to auto-delete the logs. Don't know if 10GB was consumed just for logs or other Appscale files, in any case we need to keep the size of server down 

Thanks

Chris Donati

unread,
Apr 2, 2018, 12:05:23 PM4/2/18
to appscale_...@googlegroups.com
AppScale should be setting up a logrotate config file at /etc/logrotate.d/appscale that keeps the files in /var/log/appscale at a reasonable size. I would recommend first confirming that logrotate is working properly in your docker container.

You can determine the size of your AppScale-related persistent data (not logs) by checking the size of /opt/appscale.

--
You received this message because you are subscribed to the Google Groups "AppScale Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appscale_community+unsub...@googlegroups.com.
To post to this group, send email to appscale_community@googlegroups.com.
Visit this group at https://groups.google.com/group/appscale_community.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages