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!
Community moderators have prevented the ability to post new answers.
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
Thank you Theodora. :) That's what I was looking for.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.