This article looks at Logrotate and goes through how you can configure log rotation for a custom application to manage log files on Alibaba Cloud.