[Catalyst] Catalyst::Log::Log4perl log duplicates
Jason Kohles
email at jasonkohles.com
Mon Jan 7 16:14:25 GMT 2008
On Jan 7, 2008, at 8:53 AM, Marius Kjeldahl wrote:
> As you can see from the output, for some reason the logger decides to
> log several times, even though the logger is/should be only called
> once.
> If I remove the two first lines in the logger configuration file, it
> works fine.
>
> It looks like the logger is getting confused with having different
> settings for parts of the code, and when/if a log is triggered for one
> level it outputs it for all levels defined.
>
It isn't the logger that's confused. :)
Refer to the Log::Log4perl::FAQ entry titled 'I keep getting duplicate
log messages! What's wrong?'
--
Jason Kohles, RHCA RHCDS RHCE
email at jasonkohles.com - http://www.jasonkohles.com/
"A witty saying proves nothing." -- Voltaire
More information about the Catalyst
mailing list