summaryrefslogtreecommitdiff
path: root/doc/development/sidekiq_debugging.md
blob: cea11e5f126601e31c1886de25792f2b77461150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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).