increase the trace level for the config reading stuff
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@58 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
5e93c4302a
commit
c8698cad53
@ -226,7 +226,7 @@ sub rcpt {
|
||||
|
||||
sub get_qmail_config {
|
||||
my ($self, $config) = (shift, shift);
|
||||
$self->log(5, "trying to get config for $config");
|
||||
$self->log(6, "trying to get config for $config");
|
||||
if ($self->{_config_cache}->{$config}) {
|
||||
return wantarray ? @{$self->{_config_cache}->{$config}} : $self->{_config_cache}->{$config}->[0];
|
||||
}
|
||||
@ -238,7 +238,7 @@ sub get_qmail_config {
|
||||
chomp @config;
|
||||
@config = grep { $_ and $_ !~ m/^\s*#/ and $_ =~ m/\S/} @config;
|
||||
close CF;
|
||||
$self->log(5, "returning get_config for $config ",Data::Dumper->Dump([\@config], [qw(config)]));
|
||||
$self->log(8, "returning get_config for $config ",Data::Dumper->Dump([\@config], [qw(config)]));
|
||||
$self->{_config_cache}->{$config} = \@config;
|
||||
return wantarray ? @config : $config[0];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user