Skip to content

Commit

Permalink
Need to test DevLog on box with debug disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
solargroovy committed Oct 22, 2013
1 parent 2e36f1b commit f1cd777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Log/Log4perl/Appender/MongoDB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ sub log {
my $msg = $params{'message'};


if (Log::Log4perl::Level::to_priority($params{'log4p_level'}) >= $self->{'level'}) {
if (Log::Log4perl::Level::to_priority($params{'log4p_level'}) >= $DEBUG) {
push(@{$self->{'buffer'}},$msg);
}

Expand Down

0 comments on commit f1cd777

Please sign in to comment.