diff --git a/README.md b/README.md index 7b005c7..d12cefb 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ HTTPigeon.configure do |config| config.redactor_string = # Set a string that should be used as the replacement when redacting sensitive data. Default: '[FILTERED]' config.log_redactor = # Specify an object to be used for redacting data before logging. Must respond to #redact(data). Default: nil config.event_logger = # Specify an object to be used for logging request roundtrip events. Default: $stdout - config.auto_generate_request_id = # Auto-generate a uuid for each request and store in a 'X-Request-Id' header? - config.exception_notifier = # Specify an object to be used for reporting errors. Must respond to #notify_exception(e) - config.notify_all_exceptions = # Do you want these errors to actually get reported/notified? + config.auto_generate_request_id = # Auto-generate a uuid for each request and store in a 'X-Request-Id' header? Default: true + config.exception_notifier = # Specify an object to be used for reporting errors. Must respond to #notify_exception(e). Must be defined if :notify_all_exceptions is true + config.notify_all_exceptions = # Do you want these errors to actually get reported/notified? Default: false end ``` diff --git a/lib/httpigeon/configuration.rb b/lib/httpigeon/configuration.rb index 48a8600..ba67722 100644 --- a/lib/httpigeon/configuration.rb +++ b/lib/httpigeon/configuration.rb @@ -8,7 +8,7 @@ def initialize @redactor_string = '[FILTERED]' @log_redactor = nil @event_logger = nil - @auto_generate_request_id = false + @auto_generate_request_id = true @notify_all_exceptions = false @exception_notifier = nil end