Skip to content

Commit

Permalink
Merge 24da7e8 into 6acb4e9
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdaiego committed Sep 11, 2019
2 parents 6acb4e9 + 24da7e8 commit 59431ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const { httpLogger } = escriba({
onlyBody: false
}
],
maxPropLength: {
propMaxLength: {
body: 2048,
url: 1024
}
Expand All @@ -133,7 +133,7 @@ logger.info('some controller information', { id: req.id })

Also it's possible to skip logs or only the body property through skipRules, in the example we are skiping logs from route `/status` for `all methods` and skiping the `body` property from routes that ends with `.csv` or `.xlsx`.

The `maxPropLength` attribute is responsible to limit the number of characters for certain properties if they exist within `propsTolog` definition.
The `propMaxLength` attribute is responsible to limit the number of characters for certain properties if they exist within `propsTolog` definition.

## Masks

Expand Down

0 comments on commit 59431ee

Please sign in to comment.