Skip to content

Commit

Permalink
Standardizing on 3 stars for masked fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ceelias committed Feb 15, 2022
1 parent d6bfe50 commit f327ebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ describe('createIntegrationLogger', () => {
}),
).toEqual({
anything: '***',
masked: '****',
masked: '***',
unmasked: 'this is clear',
});
});
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-sdk-runtime/src/logger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function createInstanceConfigSerializer<
for (const k of Object.keys(config)) {
const field = fields && fields[k];
if (field) {
serialized[k] = field.mask ? '****' : config[k];
serialized[k] = field.mask ? '***' : config[k];
} else {
serialized[k] = '***';
}
Expand Down

0 comments on commit f327ebc

Please sign in to comment.