Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
carp warn user from perspective of caller and already ignore Log::Log…
…4perl::Appender-Class
  • Loading branch information
Sadrak committed Mar 5, 2021
commit 149b3c7092514ef76f2cc627677f36e90ee40466
2 changes: 0 additions & 2 deletions lib/Log/Log4perl/Appender.pm
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ sub log {
if (ref $p->{message} eq "ARRAY") {
for my $i (0..$#{$p->{message}}) {
if( !defined $p->{message}->[ $i ] ) {
local $Carp::CarpLevel =
$Carp::CarpLevel + $Log::Log4perl::caller_depth + 1;
carp "Warning: Log message argument #" .
($i+1) . " undefined";
}
Expand Down