Are logs for Bitbucket Cloud's self-hosted runners automatically rotated? If not, Can anyone provide some guidance on setting up log rotation for these logs across different operating systems (Linux, Windows, and Mac). Specifically:
- Linux: I have experience using
logrotate on Linux. Are there any additional recommendations or best practices for runner logs generated by Bitbucket Runners (For example, the frequency of rotation and how many backups to store.)? - Windows: What are the best methods or tools for setting up log rotation?
- Mac: What are the recommended practices for managing log rotation on macOS?
Note: I am not referring to Docker-based Linux Runners, as those logs are managed using a Kubernetes Runner Autoscaler setup I have provisioned using the instructions here: Autoscaler for Runners on Kubernetes
Any suggestions or instructions would be greatly appreciated. Thank you!