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.
https://docs.gitlab.com/omnibus/settings/logs.html

The data is here:
/var/opt/gitlab/prometheus/data

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