godspeedsystems / gs-node-service

Godspeed microservice framework
https://godspeed.systems/
Other
624 stars 15 forks source link

Logs masking in gs-node-service: Remove JSON.stringify for the object to use logs masking #543

Closed ghost closed 1 year ago

ghost commented 1 year ago

Image

arunsingh commented 1 year ago

In discussion.

ghost commented 1 year ago

For 2nd task in this issue, we are making a convention **.<fieldName> which will be internally converted to apply redaction in pino upto nesting level 10 i.e. *.<fieldName>, *.*.<fieldName> ....... and so on.

ghost commented 1 year ago

Documentation updated: https://docs.godspeed.systems/docs/telemetry/intro#13332-log-fields-masking @kushal-mindgrep Please test this issue end to end.