[PATCH] changed two log calls from INFO to DEBUG (more appropriate)

[email protected] (Matt Simerson)
Newsgroups perl.qpsmtpd
Message-ID <[email protected]>
---
plugins/greylisting |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/greylisting b/plugins/greylisting
index 1085224..19cb707 100644
--- a/plugins/greylisting
+++ b/plugins/greylisting
@@ -250,7 +250,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";
@@ -298,7 +298,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}) {
-- 
1.7.9.6
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.