summaryrefslogtreecommitdiff
path: root/doc/development
diff options
context:
space:
mode:
authorChris Wilson <chris@chrisjwilson.com>2016-12-28 11:22:21 +0000
committerChris Wilson <chris@chrisjwilson.com>2016-12-28 11:22:21 +0000
commit7422ea7a3e2ff8b3f15eeceffbb8232061233c2b (patch)
tree369e62b396b470d89c734de751ee1fece4facefa /doc/development
parentb93c72e33a50aaed845fe333dee0201b0b11934e (diff)
downloadgitlab-ce-7422ea7a3e2ff8b3f15eeceffbb8232061233c2b.tar.gz
Set SIDEKIQ_LOG_ARGUMENTS in gitlab.rb
Diffstat (limited to 'doc/development')
-rw-r--r--doc/development/sidekiq_debugging.md13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/development/sidekiq_debugging.md b/doc/development/sidekiq_debugging.md
index cea11e5f126..d6d770e27c1 100644
--- a/doc/development/sidekiq_debugging.md
+++ b/doc/development/sidekiq_debugging.md
@@ -3,12 +3,15 @@
## Log arguments to Sidekiq jobs
If you want to see what arguments are being passed to Sidekiq jobs you can set
-the SIDEKIQ_LOG_ARGUMENTS environment variable.
+the `SIDEKIQ_LOG_ARGUMENTS` [environment variable]
+(https://docs.gitlab.com/omnibus/settings/environment-variables.html) to `1` (true).
+
+Example:
```
-SIDEKIQ_LOG_ARGUMENTS=1 bundle exec foreman start
+gitlab_rails['env'] = {"SIDEKIQ_LOG_ARGUMENTS" => "1"}
```
-It is not recommend to enable this setting in production because some Sidekiq
-jobs (such as sending a password reset email) take secret arguments (for
-example the password reset token).
+Please note: It is not recommend to enable this setting in production because some
+Sidekiq jobs (such as sending a password reset email) take secret arguments (for
+example the password reset token). \ No newline at end of file