Skip to content

Commit

Permalink
fix(logger.service): disable digits redactor (#675)
Browse files Browse the repository at this point in the history
With digits redactor, the logs looked like:

debug [DIDService] : 2024-11-21T22:32:25.999Z - Fetched 0 DID events from interval [DIGITS, DIGITS]
  • Loading branch information
jrhender authored Dec 12, 2024
1 parent 8bfd1e9 commit 49366bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ___
| :------ | :------ |
| `assetId` | `string` |
| `«destructured»` | `Object` |
| › `order` | ``"ASC"`` \| ``"DESC"`` |
| › `order` | ``"DESC"`` \| ``"ASC"`` |
| › `skip` | `number` |
| › `take` | `number` |
| › `type` | [`AssetHistoryEventType`](../enums/modules_assets_assets_event.AssetHistoryEventType.md) |
Expand Down
5 changes: 5 additions & 0 deletions src/modules/logger/logger.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ export class Logger extends NestLogger implements LoggerService {
) {
super();
this.redactor = new SyncRedactor({
builtInRedactors: {
digits: {
enabled: false,
},
},
customRedactors: {
before: [
{
Expand Down

0 comments on commit 49366bc

Please sign in to comment.