that would be nice. what we did instead was: Enumeration iterator = Category.getRoot().getAllAppenders(); if (!iterator.hasMoreElements()) { BasicConfigurator.configure(); }
--- Endre_Stølsvik <[EMAIL PROTECTED]> wrote: > A method for asking whether the log4j system is > configured would be nice. > Is it there already? > > It would be great for driver/testing classes, as one > could have a block > such as: > > static { > if (! Configurator.isConfigred() ) { > BasicConfigurator.configure(); > } > } > > -- > Mvh, > Endre > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>