From d9a42d1774e0187c614786bdc9039d773da4dd39 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Fri, 4 May 2012 14:55:14 -0400 Subject: [PATCH] confine SMTP.pm duplicate logging to LOGDEBUG --- lib/Qpsmtpd/SMTP.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Qpsmtpd/SMTP.pm b/lib/Qpsmtpd/SMTP.pm index 3df02f1..bcd9144 100644 --- a/lib/Qpsmtpd/SMTP.pm +++ b/lib/Qpsmtpd/SMTP.pm @@ -312,7 +312,7 @@ sub mail { return $self->respond(503, "please say hello first ..."); } else { - $self->log(LOGINFO, "full from_parameter: $line"); + $self->log(LOGDEBUG, "full from_parameter: $line"); $self->run_hooks("mail_parse", $line); } } @@ -387,7 +387,7 @@ sub mail_respond { $self->disconnect; } else { # includes OK - $self->log(LOGINFO, "getting mail from ".$from->format); + $self->log(LOGDEBUG, "getting mail from ".$from->format); $self->respond(250, $from->format . ", sender OK - how exciting to get mail from you!"); $self->transaction->sender($from); }