aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-06-05 13:15:15 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-06-05 13:15:15 +0200
commit955a3bde172244cc244860f2de571f12d3693707 (patch)
treee38b145fb119acb0f195201727945a3d0c7b94f7 /app
parent8671da5eadc93204f2742bb6b2b5b8fc1eddf131 (diff)
downloadwallabag-955a3bde172244cc244860f2de571f12d3693707.tar.gz
wallabag-955a3bde172244cc244860f2de571f12d3693707.tar.zst
wallabag-955a3bde172244cc244860f2de571f12d3693707.zip
Add Sentry support
Only enable in production
Diffstat (limited to 'app')
-rw-r--r--app/AppKernel.php1
-rw-r--r--app/config/config_prod.yml3
-rw-r--r--app/config/parameters.yml.dist3
3 files changed, 7 insertions, 0 deletions
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
35 new BD\GuzzleSiteAuthenticatorBundle\BDGuzzleSiteAuthenticatorBundle(), 35 new BD\GuzzleSiteAuthenticatorBundle\BDGuzzleSiteAuthenticatorBundle(),
36 new OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(), 36 new OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(),
37 new Http\HttplugBundle\HttplugBundle(), 37 new Http\HttplugBundle\HttplugBundle(),
38 new Sentry\SentryBundle\SentryBundle(),
38 39
39 // wallabag bundles 40 // wallabag bundles
40 new Wallabag\CoreBundle\WallabagCoreBundle(), 41 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:
23 level: debug 23 level: debug
24 console: 24 console:
25 type: console 25 type: console
26
27sentry:
28 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:
63 redis_port: 6379 63 redis_port: 6379
64 redis_path: null 64 redis_path: null
65 redis_password: null 65 redis_password: null
66
67 # sentry logging
68 sentry_dsn: ~