From: Mike S. <log...@pe...> - 2005-02-24 01:14:40
|
Ron Reidy <ron.reidy <at> gmail.com> writes: > $logger = Log::Log4perl->get_logger($0); > $logger->info("starting"); [...] > Here is my config file: > > log4perl.logger.test = INFO, test_app > log4perl.logger.test = WARN, test_app > log4perl.logger.test = DEBUG, test_app > log4perl.logger.test = ERROR, test_app > log4perl.logger.test = FATAL, test_app You just want one of these, not 5 of them. You're using category "test" in the config file and get_logger($0) to get the logger. Is $0 eq "test"? -- Mike Mike Schilli |