From: Rolf S. <rs...@pl...> - 2005-08-15 14:32:11
|
Hi, I try to use Log4perl VERSION 0.52 with LogDispatch 2.10: When I configure an appender of the Class Log::Dispatch::Email::MIMELite (or any other Email subclass),, I get the error: The following parameter was passed in the call to Log::Dispatch::Email::new but was not listed in the validation options: name at /usr/local/lib/perl5/site_perl/5.8.6/Log/Log4perl/Appender.pm line 83 Although Log::Dispatch::Email sets Params::Validate::validation_options( allow_extra => 1 ); When I modify Appender.pm and delete the name param it complains with onother variabe passed in (something starting with l4_...). When I remove validate in L::D:Email.pm I get the same error from Log::Dispatch::Output. So, whats wrong here? Any idea? Rolf Schaufelberger ------------------------------------------------------------------- plusW Dipl. Ing. Rolf Schaufelberger Endersbacher Str. 57 E-Mail: rs...@pl... 71334 Waiblingen-Beinstein Mobil: 0160 - 84 039 64 Tel. 07151/ 20583-70 ,noch nicht geschaltet, bis dahin: 07151/ 20583-32 |