You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-user@logging.apache.org by Anas Mughal <an...@yahoo.com> on 2009/07/28 04:35:44 UTC

LoggerPropertyConfigurator::doConfigure() cannot load

I need help trying to figure why I get the following error on all my pages:




Warning:
LoggerPropertyConfigurator::doConfigure() cannot load
'../../config/IvLogger.properties' configuration. in /home1/myhome/private_20090725/log4php/LoggerLog.php on line 95


Warning: LOG4PHP main() Default Init failed. in
/home1/myhome/private_20090725/log4php/LoggerLog.php
on line 95 


 The configuration file is properly available at '../../config/IvLogger.properties'
What could be wrong... please help.
 
Thanks in advance.
--Anas Mughal
anasmughal@ yahoo.com
  


      

Re: LoggerPropertyConfigurator::doConfigure() cannot load

Posted by Christian Grobmeier <gr...@gmail.com>.
Hi Anas,

did you try something like:

define('LOG4PHP_CONFIGURATION',
dirname(__FILE__).'/../config/IvLogger.properties');

somewhere? I think the path to configuration should be absolute.
Please provide some code of what you have done if that doesn't help.

Cheers
Christian


> Warning: LoggerPropertyConfigurator::doConfigure() cannot load
> '../../config/IvLogger.properties' configuration. in
> /home1/myhome/private_20090725/log4php/LoggerLog.php on line 95
>
> Warning: LOG4PHP main() Default Init failed. in
> /home1/myhome/private_20090725/log4php/LoggerLog.php on line 95
>
>
> The configuration file is properly available at
> '../../config/IvLogger.properties'
> What could be wrong... please help.
>
> Thanks in advance.
> --
> Anas Mughal
> anasmughal@ yahoo.com
>
>
>