diff options
author | Stan Hu <stanhu@gmail.com> | 2019-09-09 14:43:18 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-09-09 14:43:18 -0700 |
commit | 6ecdd49cf93a53651289d12164953174ada953c8 (patch) | |
tree | 9e2ddceeab1709013aec1f7ffa5f3eced1b0caed | |
parent | 96480a31abf1190438aa142d44756a5177b6ac35 (diff) | |
download | gitlab-ce-6ecdd49cf93a53651289d12164953174ada953c8.tar.gz |
Enable JSON logs for Sidekiq by default
JSON logs include arguments by default, and they're easier to
parse/filter.
-rw-r--r-- | config/gitlab.yml.example | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index aa7c2d343a8..87159b695f9 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -342,7 +342,7 @@ production: &base ## Sidekiq sidekiq: - log_format: default # (json is also supported) + log_format: json # (default is the original format) ## Auxiliary jobs # Periodically executed jobs, to self-heal GitLab, do external synchronizations, etc. |