Skip to content

Commit

Permalink
Change exceptions logging: README.md entry for `log_job_exception_wit…
Browse files Browse the repository at this point in the history
…h_causes` `causes_logging_max_depth` Settings
  • Loading branch information
Dominik Mlynek committed Nov 28, 2024
1 parent 235db63 commit 42fddfd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ Sidekiq::Logstash.configure do |config|
# by default, sidekiq-logstash removes the default error handler
# to keep it, simply set this to true
config.keep_default_error_handler = true

# To enable logging of Exception causes,
# which provides details about the exception chain,
# uncomment the following lines:
#
# config.log_job_exception_with_causes = true
# # To specify the maximum depth of causes to log:
# config.causes_logging_max_depth = 3 # Default is 2
end
```

Expand Down

0 comments on commit 42fddfd

Please sign in to comment.