From 955a3bde172244cc244860f2de571f12d3693707 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Wed, 5 Jun 2019 13:15:15 +0200 Subject: Add Sentry support Only enable in production --- app/AppKernel.php | 1 + app/config/config_prod.yml | 3 +++ app/config/parameters.yml.dist | 3 +++ 3 files changed, 7 insertions(+) (limited to 'app') diff --git a/app/AppKernel.php b/app/AppKernel.php index 4a54da29..fcf929c6 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -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(), diff --git a/app/config/config_prod.yml b/app/config/config_prod.yml index 44e29aac..59d2e9e2 100644 --- a/app/config/config_prod.yml +++ b/app/config/config_prod.yml @@ -23,3 +23,6 @@ monolog: level: debug console: type: console + +sentry: + dsn: "%sentry_dsn%" diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 13e2584f..5bd71963 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist @@ -63,3 +63,6 @@ parameters: redis_port: 6379 redis_path: null redis_password: null + + # sentry logging + sentry_dsn: ~ -- cgit v1.2.3