I have several appenders and I would like configure them for different
error levels, like this:
log4j.logger.cz.me.ws.phv.PaymentUpdateServlet=DEBUG, A1, A2
log4j.logger.cz.me.ws.phv.PaymentUpdateServlet=ERROR, A3
But log4j takes only the last definnition. Please, do you have any hint how
to do that?
AFAIK one configures a logger -- not an appender -- for an error level. You
simply let all log messages go to the same destination, then use a tool such
as Chainsaw to sift through them. If you're insistent on having the same
logger send log messages at different levels to different destinations ...
you could probably use a log filter to direct traffic ( I haven't done it,
so take this for what it's worth). Look up log filters.
Regards,
--A
_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]