Log level not updated when not specified
Overview
In gitlab-com/gl-infra/production#17848 (closed) an engineer had to debug something in production, so they enabled debug logging. However when we removed log_level
gitlab-runner
didn't update the log level to be info
(default), and stayed in debug
mode filling up the disk.
- Start GitLab Runner process with
log_level
not specified. - Update
config.toml
to specifylog_level = "debug"
. - Wait for GitLab Runner to reload config
- Delete
log_level = "debug"
. -
Want: Log level to drop to
info
again (default) -
Got: Log level stayed as
debug