[PATCH] reduce the logging from 2 to 1 lines per recipient
[email protected] (Matt Simerson)
| Newsgroups | perl.qpsmtpd |
|---|---|
| Message-ID | <[email protected]> |
reduce the check_qmail_deliverable plugin logging from 2 to 1 lines per recipient
---
plugins/check_qmail_deliverable | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/check_qmail_deliverable b/plugins/check_qmail_deliverable
index 6230e66..f966e7d 100755
--- a/plugins/check_qmail_deliverable
+++ b/plugins/check_qmail_deliverable
@@ -149,14 +149,14 @@ sub rcpt_handler {
my ($self, $transaction, $rcpt) = @_;
my $address = $rcpt->address;
- $self->log(LOGINFO, "Checking deliverability for recipient '$address'");
+ $self->log(LOGDEBUG, "Checking deliverability for recipient '$address'");
$shared_domain = $rcpt->host;
my $rv = deliverable $address;
if (not defined $rv or not length $rv) {
- $self->log(LOGWARN, "Unknown error.");
+ $self->log(LOGWARN, "Unknown error checking deliverability of '$address'");
return DECLINED;
}
--
1.7.9.6