How to set the config file in LOG4PHP

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I downloaded log4php but I found the documentation on the site is VERY
POOR. After a lot of IMPRECATIONS, I was able to do a log without the
config file (fortunately I used log4J-AVA so I recalled some

How can I configure and use log4php starting with an XML config file?

I don't think it is so difficult, but I was disappointed for the VERY
INADEGUATE documentation on the site.

Thanks for any hint!!


Re: How to set the config file in LOG4PHP

Just as this:

define("LOG4PHP_CONFIGURATION", "log4php.xml");
$logger =& LoggerManager::getLogger('helloworld');


ProgDario wrote:
Quoted text here. Click to load it

Site Timeline