From df59795489d9b28fa56de1704c9bfbc7c80d34f6 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Thu, 22 Apr 2021 18:01:52 +0200 Subject: [PATCH] Remove mail spammy log --- src/mail/Mail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mail/Mail.ts b/src/mail/Mail.ts index 6853cd4..4ad2303 100644 --- a/src/mail/Mail.ts +++ b/src/mail/Mail.ts @@ -110,7 +110,7 @@ export default class Mail { this.data.app = config.get('app'); // Log - logger.debug('Send mail', this.options, this.data); + logger.debug(`Send mail from ${this.options.from.address} to ${this.options.to}`); // Render email this.options.html = Mail.parse(this.environment, 'mails/' + this.template.template + '.mjml.njk',