I have a gitlab running in a docker instance.
The docker image I’m using is this one: “gitlab/gitlab-ee:latest”
I notice that every day I get a sidekiq logfile of about 66MB.
The log rotation is the default, so it’s set to 30 days.
I want to decrease this to 10 days to save some space.
I tried to edit my gitlab.rb, and set
sidekiq[‘logrotate_rotate’] = 10
and then run
gitlab-ctl reconfigure
but to no avail. the generated config file in
/opt/gitlab/sv/sidekiq/log/config
still contains:
s209715200
n30
t86400
!gzip
And I still have 30 files there.
Are there other steps to accomplish this?
Thanks,
Wouter