You can accomplish what you want using the components that come packaged
w/ log4j.  Here's a log4j configuration that should accomplish your
goals.  Explanations follow:


Ron, thank you very much for that very full and very clear
explanation. I can see how this will get me most of the way to what I
want by applying filters to the email appender. One last question if I
may, is there an appender available that will trigger the execution of
another java class when a message arrives. There is one message that
requires a re-start of the application and I would like to script the
restart based on the arrival of that message in the log (rather than
being woken in the middle of the night when a user can't log in).

I appreciate that this is not really what log4j was designed for, but
when I have no control over the application itself, this seems a
reasonably elegant way.

Regards
Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to