
cylontoaster at gmx
Oct 24, 2011, 7:11 AM
Post #5 of 7
(261 views)
Permalink
|
|
Re: Log::Dispatch::Output::log Missing mandatory parameters
[In reply to]
|
|
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=DEBUG, Screen, Logfile > log4perl.appender.Screen=Log::Dispatch::Screen > log4perl.appender.Screen.Threshold=WARN > > This was ok before but after the update it gave me the error. > Commenting out the line > > log4perl.appender.Screen.Threshold=WARN > > and the error is gone. > > > On Mon, Oct 24, 2011 at 11:43 AM, cylontoaster <cylontoaster [at] gmx > <mailto:cylontoaster [at] gmx>> 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 <mailto:Catalyst [at] lists> >> Listinfo:http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst >> Searchable archive:http://www.mail-archive.com/catalyst [at] lists/ >> Dev site:http://dev.catalyst.perl.org/ > > > _______________________________________________ > List: Catalyst [at] lists <mailto:Catalyst [at] lists> > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/ > > > > > _______________________________________________ > List: Catalyst [at] lists > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/
|