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

cylontoaster cylontoaster at gmx.de
Mon Oct 24 14:11:18 GMT 2011


thank u for your reply,
I can confirm this behavior, but regarding this, it's not possible =

anymore to log a certain level i.e. in SCREEN and another one in FILE.
Also the usage of filters react by throwing the same error-message :-(

> I haven't looked at it in depth but in my configuration file something =

> seemed to go wrong setting the level:
>
> log4perl.rootLogger=3DDEBUG, Screen, Logfile
> log4perl.appender.Screen=3DLog::Dispatch::Screen
> log4perl.appender.Screen.Threshold=3DWARN
>
> This was ok before but after the update it gave me the error. =

> Commenting out the line
>
> log4perl.appender.Screen.Threshold=3DWARN
>
> and the error is gone.
>
>
> On Mon, Oct 24, 2011 at 11:43 AM, cylontoaster <cylontoaster at gmx.de =

> <mailto:cylontoaster at gmx.de>> wrote:
>
>     Hello,
>     have you already found a solution???
>     thanx,
>     andy
>>     Hi all,
>>
>>     I just upgraded to Catalyst 5.9 and I was getting messages about =

>>     Catalyst::Log::Log4perl being deprecated so I changed to
>>     Log::Log4perl::Catalyst.
>>
>>     But now I am getting:
>>
>>     $ script/webservices_server.pl <http://webservices_server.pl> -r
>>     Couldn't load class (myapp) because: Mandatory parameters
>>     'level', 'message' missing in call to Log::Dispatch::Output::log
>>      at /usr/lib/perl5/site_perl/5.8.8/Params/ValidatePP.pm line 650
>>         Params::Validate::__ANON__('Mandatory parameters \'level\',
>>     \'message\' missing in call t...') called at
>>     /usr/lib/perl5/site_perl/5.8.8/Params/ValidatePP.pm line 362
>>
>>
>>     How to fix that?
>>
>>     Thanks,
>>
>>     Meindert
>>
>>
>>     _______________________________________________
>>     List:Catalyst at lists.scsys.co.uk  <mailto:Catalyst at lists.scsys.co.uk>
>>     Listinfo:http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>>     Searchable archive:http://www.mail-archive.com/catalyst@lists.scsys.=
co.uk/
>>     Dev site:http://dev.catalyst.perl.org/
>
>
>     _______________________________________________
>     List: Catalyst at lists.scsys.co.uk <mailto:Catalyst at lists.scsys.co.uk>
>     Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>     Searchable archive:
>     http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>     Dev site: http://dev.catalyst.perl.org/
>
>
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.u=
k/
> Dev site: http://dev.catalyst.perl.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20111024/21113=
2a9/attachment.htm


More information about the Catalyst mailing list