proper log caller depth with no request
This commit is contained in:
parent
fc6d8e0016
commit
a80b6a5f6d
1 changed files with 1 additions and 0 deletions
|
|
@ -213,6 +213,7 @@ sub new {
|
|||
$logger = sub {
|
||||
my $args = shift;
|
||||
my $level = $args->{level};
|
||||
local $Log::Log4perl::caller_depth = $Log::Log4perl::caller_depth + 1;
|
||||
$log4perl->$level( $args->{message} );
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue