Make GITLAB_LOG_LEVEL affect more logs
What does this MR do and why?
Make GITLAB_LOG_LEVEL affect more logs
-
production_json.log=> See !154992 (merged) -
development_json.log=> See !154992 (merged) - development.log
- api_json.log
See &6034
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Add a
env.runit
file to the root directory of GDK - Add a line
export GITLAB_LOG_LEVEL=warn
to theenv.runit
file gdk restart
- Observe logs with and without the environment variable set, or set to different values
If you set it to e.g. warn
, then debug
and info
level logs are no longer output to the affected logs.
Edited by Michael Kozono