mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 12:34:12 +00:00
Enable sending logs to Sentry
Enabled logging to Sentry and patched Ruby logger. Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user