summaryrefslogtreecommitdiff
path: root/doc/development
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-08 16:03:36 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-08 16:03:36 +0200
commit15d5b287e2088953cad57d39b7fcbeca63a067e7 (patch)
tree35c2d3584e609459a448d61a23f348f423afe60d /doc/development
parent754c38bb6a8e409af51902d1fe1b9f7f7f1ee225 (diff)
parent1caf5cbe0796ad12f54b336757898698d13866a9 (diff)
downloadgitlab-ce-15d5b287e2088953cad57d39b7fcbeca63a067e7.tar.gz
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Diffstat (limited to 'doc/development')
-rw-r--r--doc/development/sidekiq_debugging.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/development/sidekiq_debugging.md b/doc/development/sidekiq_debugging.md
new file mode 100644
index 00000000000..cea11e5f126
--- /dev/null
+++ b/doc/development/sidekiq_debugging.md
@@ -0,0 +1,14 @@
+# Sidekiq debugging
+
+## 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.
+
+```
+SIDEKIQ_LOG_ARGUMENTS=1 bundle exec foreman start
+```
+
+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).