Hello,
I came into a very strange behaviour of initializing log4perl. I am
using mod_perl, with a startup handler (startup.pl). I put
Log::Log4Perl::init_once(config_file) there. However, when I tried to
call get_logger() in my module, I got error saying that Log4perl is not
initialized. How should I init Log4perl in mod_perl environment?
Thanks!
- Joe
|