diff --git a/packages/auth/src/Domain/Handler/PredicateVerificationRequestedEventHandler.spec.ts b/packages/auth/src/Domain/Handler/PredicateVerificationRequestedEventHandler.spec.ts index 6cb0ecb27..ef39e3393 100644 --- a/packages/auth/src/Domain/Handler/PredicateVerificationRequestedEventHandler.spec.ts +++ b/packages/auth/src/Domain/Handler/PredicateVerificationRequestedEventHandler.spec.ts @@ -54,6 +54,7 @@ describe('PredicateVerificationRequestedEventHandler', () => { logger = {} as jest.Mocked logger.warn = jest.fn() logger.info = jest.fn() + logger.debug = jest.fn() event = {} as jest.Mocked event.meta = { diff --git a/packages/auth/src/Domain/Handler/PredicateVerificationRequestedEventHandler.ts b/packages/auth/src/Domain/Handler/PredicateVerificationRequestedEventHandler.ts index 34b02ea68..fd8c6cf33 100644 --- a/packages/auth/src/Domain/Handler/PredicateVerificationRequestedEventHandler.ts +++ b/packages/auth/src/Domain/Handler/PredicateVerificationRequestedEventHandler.ts @@ -23,7 +23,7 @@ export class PredicateVerificationRequestedEventHandler implements DomainEventHa ) {} async handle(event: PredicateVerificationRequestedEvent): Promise { - this.logger.info(`Received verification request of predicate: ${event.payload.predicate.name}`) + this.logger.debug(`Received verification request of predicate: ${event.payload.predicate.name}`) let userUuid = event.meta.correlation.userIdentifier if (event.meta.correlation.userIdentifierType === 'email') { @@ -55,7 +55,7 @@ export class PredicateVerificationRequestedEventHandler implements DomainEventHa }), ) - this.logger.info( + this.logger.debug( `Published predicate verification (${predicateVerificationResult}) result for: ${event.payload.predicate.name}`, ) }