logging-log4php-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Habunek <ivan.habu...@gmail.com>
Subject Re: trigger errors
Date Sat, 12 Nov 2011 19:34:40 GMT
On 12 November 2011 20:26, Florian Semm <florian.semm@gmx.de> wrote:
> i have ran some unit-tests with an incomplete xml-config. so how exact
> should be an configuration-error?
>
> my appender config looks like this:
>
> <appender name="default" />
>
> there is no class attribute or layout option. should all this missing
> options trigger an error?

It should trigger an error (E_USER_WARNING)  and discard the
incomplete appender config. Do you get an error?

I will try it out a bit later. Getting some dinner now.

Regards,
Ivan

Mime
View raw message