On Sat, Nov 12, 2011 at 8:26 PM, Florian Semm <[email protected]> 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?
Good question. In my world logging framework should never break an application. So... what exactly is an error? A console output? standard php logfile problem? In the case above - currently I am unsure if we have a Schema for it. This might help. If we have a schema it might be sufficient to use: http://www.php.net/manual/en/function.error-log.php if an configuration error occurs. Other opinions? Cheers > > > regards > > florian > > -- http://www.grobmeier.de
