diff options
Diffstat (limited to 'doc/development/sidekiq_debugging.md')
-rw-r--r-- | doc/development/sidekiq_debugging.md | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/doc/development/sidekiq_debugging.md b/doc/development/sidekiq_debugging.md index 2b3a9481b93..b6a11dd813d 100644 --- a/doc/development/sidekiq_debugging.md +++ b/doc/development/sidekiq_debugging.md @@ -2,20 +2,5 @@ ## 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](https://docs.gitlab.com/omnibus/settings/environment-variables.html) to `1` (true). - -Example: - -``` -gitlab_rails['env'] = {"SIDEKIQ_LOG_ARGUMENTS" => "1"} -``` - -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). - -When using [Sidekiq JSON logging](../administration/logs.md#sidekiqlog), -arguments logs are limited to a maximum size of 10 kilobytes of text; -any arguments after this limit will be discarded and replaced with a -single argument containing the string `"..."`. +This content has been moved to the +[Troubleshooting Sidekiq docs](../administration/troubleshooting/sidekiq.md). |