It might be as simple as adding another <appender> tag in your XML file. I haven't tried it yet but I plan on doing it sometime next week. Let me know how it goes.
Michael -----Original Message----- From: FLYNN, Peter -Syntegra UK [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 8:55 AM To: 'Log4J Users List' Subject: RE: Multiple appenders for a category Do you know how to do that in XML? Peter > -----Original Message----- > From: Andrew Hurst [mailto:[EMAIL PROTECTED]] > Sent: 27 September 2002 13:56 > To: Log4J Users List > Subject: Re: Multiple appenders for a category > > > 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]> ******************************************************************** This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ******************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>