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
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
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