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:
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.)?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!
Hi Gajesh,
The default configuration should delete old log files after 7 days. If you want to change that, you can check our guide below for configuring logging in self-hosted runners:
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome, Gajesh! Please feel free to reach out if you ever need anything else!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.