>> local $Log::Log4perl::caller_depth =
>>$Log::Log4perl::caller_depth + 2;
>
> I should have said I knew I could do this but a) there
> are an awful lot of methods b) when logging is not
> enabled each method has the overhead of the above
> statement for nothing.
Well, th
Thanks for the reply Kevin.
Kevin M. Goess wrote:
> Martin,
>
> Have you tried something like this? It would go in each wrapper method
> in your st.pm and db.pm, at the beginning of the method:
>
> local $Log::Log4perl::caller_depth =
>$Log::Log4perl::caller_depth + 2;
Martin,
Have you tried something like this? It would go in each wrapper method
in your st.pm and db.pm, at the beginning of the method:
local $Log::Log4perl::caller_depth =
$Log::Log4perl::caller_depth + 2;
It's a package variable, so no, there is no other way to set