mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 22:15:14 +00:00
loggin on sentry?? (#667)
This commit is contained in:
parent
2fa4b56fc3
commit
fefc574578
1 changed files with 5 additions and 0 deletions
|
|
@ -6,4 +6,9 @@ Sentry.init do |config|
|
|||
config.send_default_pii = true
|
||||
config.traces_sample_rate = 1.0
|
||||
config.profiles_sample_rate = 1.0
|
||||
|
||||
# Enable sending logs to Sentry
|
||||
config.enable_logs = true
|
||||
# Patch Ruby logger to forward logs
|
||||
config.enabled_patches = [ :logger ]
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue