From d8467d784b131289caa535a7e6c91bc4ce327f38 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sun, 22 Apr 2012 16:58:03 -0400 Subject: [PATCH] Made greylisting plugin log a little less by default --- plugins/greylisting | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/greylisting b/plugins/greylisting index 46d1655..8d4edd3 100644 --- a/plugins/greylisting +++ b/plugins/greylisting @@ -249,7 +249,7 @@ sub denysoft_greylist { $dbdir = $d; } my $db = "$dbdir/$DB"; - $self->log(LOGINFO,"using $db as greylisting database"); + $self->log(LOGDEBUG,"using $db as greylisting database"); my $remote_ip = $self->qp->connection->remote_ip; my $fmt = "%s:%d:%d:%d"; @@ -297,7 +297,7 @@ sub denysoft_greylist { my ($ts, $new, $black, $white) = (0,0,0,0); if ($db{$key}) { ($ts, $new, $black, $white) = split /:/, $db{$key}; - $self->log(LOGINFO, "ts: " . localtime($ts) . ", now: " . localtime); + $self->log(LOGDEBUG, "ts: " . localtime($ts) . ", now: " . localtime); if (! $white) { # Black IP - deny, but don't update timestamp if (time - $ts < $config->{black_timeout}) {