Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-04-01 10:46:52 +0300
committerStan Hu <stanhu@gmail.com>2018-04-04 15:04:00 +0300
commit6415ac9e994640474eaa5b0fee3914934d85b35b (patch)
tree2640006fbc3745039799bb76bf8a654f5ce592c0 /config/gitlab.yml.example
parenteaed588bf228c833cb666a61bc7d25cf21d5f94b (diff)
Add support for Sidekiq JSON logging
Closes #20060
Diffstat (limited to 'config/gitlab.yml.example')
-rw-r--r--config/gitlab.yml.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 8db66037d61..126a9b8b803 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -226,6 +226,10 @@ production: &base
# plain_url: "http://..." # default: https://www.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon
# ssl_url: "https://..." # default: https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon
+ ## Sidekiq
+ sidekiq:
+ log_format: default # (json is also supported)
+
## Auxiliary jobs
# Periodically executed jobs, to self-heal GitLab, do external synchronizations, etc.
# Please read here for more information: https://github.com/ondrejbartas/sidekiq-cron#adding-cron-job