lib/logster/configuration.rb in logster-2.5.1 vs lib/logster/configuration.rb in logster-2.6.0
- old
+ new
@@ -10,11 +10,16 @@
:enable_custom_patterns_via_ui,
:enable_js_error_reporting,
:environments,
:rate_limit_error_reporting,
:web_title,
- :maximum_message_size_bytes
+ :maximum_message_size_bytes,
+ :project_directories,
+ :enable_backtrace_links,
+ :gems_dir,
+ :max_env_bytes,
+ :max_env_count_per_message
)
attr_writer :subdirectory
def initialize
@@ -24,10 +29,15 @@
@subdirectory = nil
@env_expandable_keys = []
@enable_custom_patterns_via_ui = false
@rate_limit_error_reporting = true
@enable_js_error_reporting = true
- @maximum_message_size_bytes = 60_000
+ @maximum_message_size_bytes = 10_000
+ @max_env_bytes = 1000
+ @max_env_count_per_message = 50
+ @project_directories = []
+ @enable_backtrace_links = true
+ @gems_dir = Gem.dir + "/gems/"
@allow_grouping = false
if defined?(::Rails) && defined?(::Rails.env) && ::Rails.env.production?
@allow_grouping = true