[log4perl-devel] log4perl question

2008-02-06 Thread Fernando Sousa
Hi all, probably you can give some help on this topic. I'm using the Log-Log4perl-1.14 and I've initialize the following log.conffile: [root@ test]# cat log.conf # A simple root logger with a Log::Log4perl::Appender::File # file appende

Re: [log4perl-devel] l4p & mod_perl startup handler

2008-02-06 Thread Kevin M. Goess
The simple way to do a startup-handler is to put something like this in your apache config: PerlRequire /path/to/handler.pl You can init log4perl in there. That gets run when apache starts up, and so that initialization will affect the perl interpreter thereafter. The fancy way to do a

Re: [log4perl-devel] log4perl question

2008-02-06 Thread Kevin M. Goess
Fernando, if I understand your question correctly, this line that you have: log4perl.rootLogger=ERROR, LOGFILE tells log4perl to send all messages whose log level is "error" or "fatal" to your LOGFILE appender. If you want to send "info" messages too, then do this, changing ERROR to INFO