> I think the problem is this line in the functions but i m not sure:
> for mail :
> Logger::configure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_mail.properties");
>
> for file :
> Logger::configure($_SERVER["DOCUMENT_ROOT"]."/log4php/appender_file.properties");

Actually you are right. If you look into this class:
http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/Logger.php?view=markup

you'll see that multiple configuration files are not supported yet. It
would make sense to create such a feature, but at the moment its not
there. You can only have one file. Is it possible for you to merge
these two files?

Cheers
Christian

Reply via email to