Mike Schilli wrote:
Thanks for the logger/category tip, the documentation didn't mention it
but used both.
>
> BTW, L4p uses dots instead of colons in class names when they're
> part of configuration definitions, like
>
> log4perl.logger.My.Module=...
>
Yeah I gather it supports both from the documentation, it says they're
equivalent (
http://log4perl.sourceforge.net/releases/Log-Log4perl/docs/html/Log/Log4perl.html
).
While I'm here... I patched Log::Dispatch::ApacheLog so it doesn't need
to be passed an Apache object, allowing it to be put in the config file
- I'll try and put together a Log::Log4perl::Appender using it, anyone
interested?
cheers
John
|