diff --git a/t/Test/Qpsmtpd.pm b/t/Test/Qpsmtpd.pm index 7bfa85a..0356177 100644 --- a/t/Test/Qpsmtpd.pm +++ b/t/Test/Qpsmtpd.pm @@ -76,7 +76,7 @@ sub plugin_dirs { sub log { my ($self, $trace, $hook, $plugin, @log) = @_; - my $level = Qpsmtpd::TRACE_LEVEL(); + my $level = Qpsmtpd::TRACE_LEVEL() || 5; $level = $self->init_logger unless defined $level; print("# " . join(" ", $$, @log) . "\n") if $trace <= $level; }