[Catalyst] Log::Dispatch::Output::log Missing mandatory parameters

Will Crawford billcrawford1970 at gmail.com
Tue Oct 25 09:45:31 GMT 2011


On 24 October 2011 12:59, clara resende <clrrsnd at gmail.com> wrote:

> log4perl.rootLogger=DEBUG, Screen, Logfile
> log4perl.appender.Screen=Log::Dispatch::Screen
> log4perl.appender.Screen.Threshold=WARN

>From the example in the L::L4P::C man page:

       The logging statement can be suppressed or activated based on a
Log4perl file that
       looks like

             # All MyApp loggers opened up for DEBUG and above
           log4perl.logger.MyApp = DEBUG, Screen
           # ...

       or

             # All loggers block messages below INFO
           log4perl.logger=INFO, Screen
           # ...

Looks like you need to put the Screen and WARN in one line?



More information about the Catalyst mailing list