diff --git a/conf/default.yaml b/conf/default.yaml index 6fec66b..6d8b7de 100644 --- a/conf/default.yaml +++ b/conf/default.yaml @@ -10,12 +10,6 @@ server: port: "{{ envVars.port }}" address: '0.0.0.0' routePrefix: "{{ envVars.routePrefix }}" -sentryFilter: - - 'error' - - 'warning' - - 'user-error' - - 'server-error' - - 'sentry' plugins: hapi-config-route: key: "{{ envVars.configRouteKey}}" @@ -33,14 +27,6 @@ plugins: hapi-logr: unhandledRejection: true uncaughtException: true - reporters: - sentry: - reporter: 'logr-sentry' - options: - release: '{{envVars.gitBranch}}_{{envVars.gitCommit}}' - environment: '{{env}}' - logger: '{{name}}' - filter: '{{sentryFilter}}' hapi-require-https: _enabled: '{{ envVars.forceHttps }}' hapi-method-loader: diff --git a/package.json b/package.json index 5bdabd5..7482a11 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "hapi-favicon": "^2.1.0", "hapi-health": "^1.3.0", "hapi-log-response": "^4.11.0", - "hapi-logr": "^6.2.0", + "hapi-logr": "^7.0.0", "hapi-method-loader": "^3.1.0", "hapi-prom": "^3.2.0", "hapi-require-https": "^3.0.1",