better logging

This commit is contained in:
Son NK 2020-08-21 10:20:08 +02:00
parent 386fcbdc3a
commit 90eae05e9e
1 changed files with 4 additions and 2 deletions

View File

@ -1041,7 +1041,8 @@ def handle_spam(
if is_reply: if is_reply:
LOG.d( LOG.d(
"Inform user %s about spam email sent from alias %s to %s", "Inform %s (%s) about spam email sent from alias %s to %s",
mailbox,
user, user,
alias, alias,
contact, contact,
@ -1071,7 +1072,8 @@ def handle_spam(
else: else:
# inform user # inform user
LOG.d( LOG.d(
"Inform user %s about spam email sent by %s to alias %s", "Inform %s (%s) about spam email sent by %s to alias %s",
mailbox,
user, user,
contact, contact,
alias, alias,