logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Schuetze <schue...@geoinform.fh-mainz.de>
Subject Re: DOMConfigurator don't throw Exception
Date Thu, 08 Dec 2005 15:02:40 GMT
Ok, I see, throwing an Exception in the configure function generates an 
fatal error. But with the current log4cxx build you don't get an 
response if the configuration success.
How do you do check if the configuration was successful?


Rainer Schuetze schrieb:
> Hi,
> I was wondering why the DOMConfigurator::configure(const std::string& 
> filename)
> don't throws an exception when the initialization (configureration) 
> fails. The Log4J API says the following about the DOMConfigurator:
> public static void configure(String filename)
>                       throws FactoryConfigurationError
>     A static version of doConfigure(String, LoggerRepository).
> Regards
> Rainer

View raw message