Reduce the log level of the "running plugin" message to LOGDEBUG.
The mere fact that a plugin was called is only useful for debugging. git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.3x@684 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
d6c428716f
commit
c581b10628
@ -367,7 +367,7 @@ sub run_continuation {
|
|||||||
$@ and warn("FATAL LOGGING PLUGIN ERROR: ", $@) and next;
|
$@ and warn("FATAL LOGGING PLUGIN ERROR: ", $@) and next;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$self->varlog(LOGINFO, $hook, $code->{name});
|
$self->varlog(LOGDEBUG, $hook, $code->{name});
|
||||||
eval { (@r) = $code->{code}->($self, $self->transaction, @$args); };
|
eval { (@r) = $code->{code}->($self, $self->transaction, @$args); };
|
||||||
$@ and $self->log(LOGCRIT, "FATAL PLUGIN ERROR: ", $@) and next;
|
$@ and $self->log(LOGCRIT, "FATAL PLUGIN ERROR: ", $@) and next;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user