Merge branch 'mrchrisw-set-SIDEKIQ_LOG_ARGUMENTS' into 'master'
Set SIDEKIQ_LOG_ARGUMENTS in gitlab.rb See merge request !8340
This commit is contained in:
commit
d1debe18ae
|
@ -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).
|
Loading…
Reference in New Issue