From 1149824dcc05dcd04dc7300c5ff25a3817ccc792 Mon Sep 17 00:00:00 2001 From: jrhender Date: Thu, 21 Nov 2024 14:43:34 -0800 Subject: [PATCH] fix(logger.service): disable digits redactor With digits redactor, the logs looked like: debug [DIDService] : 2024-11-21T22:32:25.999Z - Fetched 0 DID events from interval [DIGITS, DIGITS] --- .../classes/modules_assets_assets_service.AssetsService.md | 2 +- src/modules/logger/logger.service.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/api/classes/modules_assets_assets_service.AssetsService.md b/docs/api/classes/modules_assets_assets_service.AssetsService.md index 865bf113..c2869767 100644 --- a/docs/api/classes/modules_assets_assets_service.AssetsService.md +++ b/docs/api/classes/modules_assets_assets_service.AssetsService.md @@ -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) | diff --git a/src/modules/logger/logger.service.ts b/src/modules/logger/logger.service.ts index e19c5293..b2509d0d 100644 --- a/src/modules/logger/logger.service.ts +++ b/src/modules/logger/logger.service.ts @@ -26,6 +26,11 @@ export class Logger extends NestLogger implements LoggerService { ) { super(); this.redactor = new SyncRedactor({ + builtInRedactors: { + digits: { + enabled: false, + }, + }, customRedactors: { before: [ {