morgan-body
morgan-body copied to clipboard
A highly configurable Express logger that logs request and response body and is nicely colorized for your terminal :)
When I use `morgan-body`, the indent is somehow set tot 8 spaces. I want to change it to 2 spaces but don't know how to do that. The only way...
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@joaomoreno, @lukekarrys) Changelog Sourced from semver's...
Removes [semver](https://github.com/npm/node-semver). It's no longer used after updating ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Removes `semver` Updates `mocha` from 7.2.0 to 10.2.0 Release notes Sourced from...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.2 to 2.1.4. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: #...
Bumps [flat](https://github.com/hughsk/flat) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `flat` from 4.1.0 to 5.0.2 Commits e5ffd66 Release 5.0.2 fdb79d5 Update dependencies, refresh...
Bumps [qs](https://github.com/ljharb/qs) from 6.7.0 to 6.11.0. Changelog Sourced from qs's changelog. 6.11.0 [New] [Fix] stringify: revert 0e903c0; add commaRoundTrip option (#442) [readme] fix version badge 6.10.5 [Fix] stringify: with arrayFormat:...
Bumps [minimatch](https://github.com/isaacs/minimatch) to 5.0.1 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `minimatch` from 3.0.4 to 5.0.1 Changelog Sourced from minimatch's changelog. change log 9.0...
Hi, I'm using morgan-body together with winston in my nodejs server code generated using swagger editor (https://editor.swagger.io/) but the response body doesn't seems to get logged.  Postman result shows...
Request: POST /api/v1/auth/signup at Sat Jan 16 2021 22:58:37 GMT+0100... Request Body: {...} Response Body: {...} Response: 500 10.412 ms I want to store only response body value on cloud....
Hi there When I configure like so: ``` morganBody(app, { skip: function(req, res) { return res.statusCode < 400 }, } ``` Then the output looks like ``` Request Body: {...