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
Hi,
I mailed this question some months ago and did not get any response so I
thought I'd have one last go slightly reworded.
I have many different loggers in the same application in the program
itself and various modules. One module is a wrapper class around DBI and
has to set the caller_depth