Here's an example showing 2 appenders 'aerologic' and 'aerologic1' for the root category. This is from a properties and not an xml file though.
===== log4j.rootCategory=, aerologic, aerologic1 ===== You then define your appenders in the normal way. Regards Andrew Johannes Carl�n wrote: >Hi, >I'd like to have multiple appenders to a single >category. That is, for example, log all debug messages >to console and all errors to file. I have read that >you could set a threshold on an appender, but I >haven't been able to figure out how. Strangely enough! >This must be a very common requirement... > >Does anyone have an example of an xml-config for this? > >Thanks >/Johannes > >_____________________________________________________ >Gratis e-mail resten av livet p� www.yahoo.se/mail >Busenkelt! > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
