diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index d964a09b8..5d27918cd 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -5,6 +5,11 @@ if ENV["SENTRY_DSN"].present? config.breadcrumbs_logger = [ :active_support_logger, :http_logger ] config.enabled_environments = %w[production] + # Enable sending logs to Sentry + config.enable_logs = true + # Patch Ruby logger to forward logs + config.enabled_patches = [ :logger ] + # Set traces_sample_rate to 1.0 to capture 100% # of transactions for performance monitoring. # We recommend adjusting this value in production.