diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-12-07 03:24:03 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-12-07 03:24:03 +0300 |
commit | 369375d0862f16f7a9926374226b1bad028f530c (patch) | |
tree | dad91ecaf9839b3c1ea28d7149dc8bf4056a71ff /doc/development | |
parent | 2a494d99faabb3b34bbb6e57a8d93bafd4f002be (diff) |
Move sidekiq debug docs to development folder
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/sidekiq_debugging.md | 14 |
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). |