Skip to content

Commit

Permalink
Merge pull request #42 from ponbike/feature/new-logger
Browse files Browse the repository at this point in the history
Default logger is only console
  • Loading branch information
pieter-pon authored Apr 11, 2022
2 parents 456c943 + fc8d0b5 commit 4979ac3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ponbike/openapi-express",
"version": "1.5.1",
"version": "1.5.2",
"description": "OpenAPI express",
"files": [
"src/openapi-express.js",
Expand Down
9 changes: 0 additions & 9 deletions src/openapi-express.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ const defaultLoggerOptions = {
loggers: [
{
type: 'console'
},
{
type: 'sentry',
level: process.env.LOGGER_SENTRY_LOGLEVEL || 'error',
location: process.env.LOGGER_SENTRY_LOCATION || undefined,
environment: process.env.LOGGER_SENTRY_ENVIRONMENT || 'production',
serverName: process.env.LOGGER_SENTRY_SERVERNAME || 'openapi-express',
release: process.env.LOGGER_SENTRY_SERVERNAME || 'unknown',
debug: process.env.LOGGER_SENTRY_DEBUG || false
}
]
}
Expand Down

0 comments on commit 4979ac3

Please sign in to comment.