From: Mike S. <m...@pe...> - 2006-03-24 17:07:27
|
On Thu, 23 Mar 2006, Sripathi Raj wrote: > When I used Devel::DProf or Devel::SmallProf, my script crashes. > ERROR : Got a die signal The following parameter was passed in the call to > Log::Dispatch::Output::log but was not listed in the validation options: > log4p_level > at C:/Perl/site/lib/Log/Log4perl/Appender.pm line 189 # test.pl use strict; use Log::Log4perl qw(:easy); Log::Log4perl->easy_init($DEBUG); DEBUG "foo"; and then call $ perl -d:DProf t 2006/03/24 08:59:40 foo $ ls -l tmon.out -rw-rw-r-- 10781 Mar 24 09:01 tmon.out Works ok for me - could this be a general problem with DProf on your platform? -- Mike Mike Schilli m...@pe... > $ = main::clean_up called from file `extract.pl' line 472 > $ = main::die_handler called from file `C:/Perl/lib/Carp.pm' line 269 > $ = Carp::croak() called from file `C:/Perl/site/lib/Log/Dispatch/Output.pm' > line 32 > $ = Log::Dispatch::Output::log called from file > `C:/Perl/site/lib/Log/Log4perl/Appender.pm' line 189 > $ = Log::Log4perl::Appender::log called from file `(eval 65)' line 41 > $ = Log::Log4perl::Logger::__ANON__() called from file > `C:/Perl/site/lib/Log/Log4perl/Logger.pm' line 648 > $ = Log::Log4perl::Logger::log called from file > `D:/srctree/reporting/src/tools/lds/extraction/../commonlib/Logger.pm' line > 130 > $ = Logger::_log called from file > `D:/srctree/reporting/src/tools/lds/extraction/../commonlib/Logger.pm' line > 160 > > I'm not sure where this is a bug or where I should find help. Please let me > know where the problem lies. > > Thanks, > > Raj > |