lib/honeybadger/config/defaults.rb in honeybadger-2.0.0.beta.4 vs lib/honeybadger/config/defaults.rb in honeybadger-2.0.0.beta.5
- old
+ new
@@ -44,11 +44,11 @@
disabled: {
description: 'Prevents Honeybadger from starting entirely.',
default: false
},
development_environments: {
- description: 'Environments which are disabled by default (use report_data to enable/disable explicitly).',
+ description: 'Environments which will not report data by default (use report_data to enable/disable explicitly).',
default: ['development'.freeze, 'test'.freeze, 'cucumber'.freeze].freeze
},
plugins: {
description: 'An optional list of plugins to load. Default is to load all plugins.',
default: nil
@@ -67,10 +67,14 @@
},
:'logging.level' => {
description: 'The log level.',
default: 'INFO'
},
+ :'logging.tty_level' => {
+ description: 'Level to log when attached to a terminal (anything < logging.level will always be ignored).',
+ default: 'DEBUG'
+ },
:'connection.secure' => {
description: 'Use SSL when sending data.',
default: true
},
:'connection.host' => {
@@ -178,9 +182,13 @@
default: true
},
:'traces.threshold' => {
description: 'The threshold in seconds to send traces.',
default: 2000
+ },
+ :'delayed_job.attempt_threshold' => {
+ description: 'The number of attempts before notifications will be sent.',
+ default: 0
}
}.freeze
DEFAULTS = Hash[OPTIONS.map{|k,v| [k, v[:default]] }].freeze
end