How do I automatically clean up the logs?

Log files are filling up the drive on my docker container.

I found this documentation but everything is commented out in /etc/gitlab/gitlab.rb.

The data is here:

I’m not using prometheus, and the service is not installed on the docker container.

I feel like I gotta be missing something simple, can anyone point me in the right direction?

Hi @joshnutt
Are you running the official GitLab container image? If so unless you have set prometheus_monitoring['enable'] = false in GitLab config Prometheus service is running. It is used for monitoring of GitLab instance.

1 Like