Skip to content

Commit 0768e93

Browse files
cds.log(): add hint re header masking (#1830)
Co-authored-by: René Jeglinsky <rene.jeglinsky@sap.com>
1 parent 87b3dad commit 0768e93

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

node.js/cds-log.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,11 @@ Some header values shall not appear in logs, for example when pertaining to auth
413413
In case your application shares any sensitive data (for example, secrets) via headers, please ensure that you adjust the configuration as necessary.
414414
:::
415415
416+
::: tip
417+
In the log entry, header field names are normalized to lowercase with `_` instead of `-`.
418+
Make sure your matchers work on the original header name, for example, `"/Foo-Bar/"` instead of the normalized `"/foo_bar/"`.
419+
:::
420+
416421
417422
### Custom Fields { #custom-fields }
418423

0 commit comments

Comments
 (0)