Add Sentry support

Only enable in production
This commit is contained in:
Jeremy Benoist
2019-06-05 13:15:15 +02:00
parent 8671da5ead
commit 955a3bde17
5 changed files with 589 additions and 88 deletions

View File

@ -35,6 +35,7 @@ class AppKernel extends Kernel
new BD\GuzzleSiteAuthenticatorBundle\BDGuzzleSiteAuthenticatorBundle(),
new OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(),
new Http\HttplugBundle\HttplugBundle(),
new Sentry\SentryBundle\SentryBundle(),
// wallabag bundles
new Wallabag\CoreBundle\WallabagCoreBundle(),

View File

@ -23,3 +23,6 @@ monolog:
level: debug
console:
type: console
sentry:
dsn: "%sentry_dsn%"

View File

@ -63,3 +63,6 @@ parameters:
redis_port: 6379
redis_path: null
redis_password: null
# sentry logging
sentry_dsn: ~