Re: [log4perl-devel] Can caller_depth be set per logger

2008-02-08 Thread Kevin M. Goess
>> 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

Re: [log4perl-devel] Can caller_depth be set per logger

2008-02-08 Thread Martin Evans
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;

Re: [log4perl-devel] log4perl question

2008-02-08 Thread Mike Schilli
On Wed, 6 Feb 2008, Kevin M. Goess wrote: > If you want to send "info" messages too, then do this, changing ERROR > to INFO: > > log4perl.rootLogger=INFO, LOGFILE > > That will send all messages of level "info", "warn", "error" and "fatal" > to your LOGFILE. ... and just in case: if you wan