Skip to content

Commit

Permalink
Merge pull request #186 from firstandthird/update-logr
Browse files Browse the repository at this point in the history
update logr
  • Loading branch information
orthagonal authored Jun 12, 2019
2 parents d7240df + 3d6a000 commit a7adf56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions conf/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a7adf56

Please sign in to comment.