Skip to content

Commit

Permalink
Merge pull request #62 from ponbike/feature/CDB2BGAZ-6460
Browse files Browse the repository at this point in the history
Update dependencies and logging information
  • Loading branch information
danielkarso-pon authored Sep 22, 2023
2 parents 45d837e + 7c7bfd9 commit 0e1fe61
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ponbike/openapi-express",
"version": "1.8.4",
"version": "1.8.5",
"description": "OpenAPI express",
"files": [
"src/openapi-express.js",
Expand Down Expand Up @@ -72,7 +72,7 @@
"@hckrnews/error": "^1.0.4",
"@hckrnews/express-callback": "^4.1.2",
"@hckrnews/validator": "^8.0.5",
"@ponbike/logger": "^0.2.3",
"@ponbike/logger": "^0.2.4",
"@ponbike/openapi-routes": "^4.1.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
Expand All @@ -84,7 +84,7 @@
"swagger-ui-express": "^4.6.0"
},
"overrides": {
"optionator" : "0.9.3"
"optionator": "0.9.3"
},
"ponstandard": {
"parser": "@babel/eslint-parser",
Expand Down
2 changes: 1 addition & 1 deletion src/openapi-express.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const buildOpenapiExpress = ({
stream: {
write: (message) => {
const data = JSON.parse(message)
return logger.info('accesslog', data)
return logger.info(`${data.method} ${data.url} : ${data.status}`, data)
}
}
}))
Expand Down

0 comments on commit 0e1fe61

Please sign in to comment.