>2. If an alert4J was created to parse the logs and
>look for specific errors to send out a page or an
>email when a certain error occurred (configurable).
>This would be too hard to do but would make things 
>very easy for someone to include in their log4j.props
>file.

Why not just write an appender that can be configured to look for the log
pattern(s) you want and send an email when it sees it.  Do this instead of a
tool to trawl/grep through the log files.  There is nothing that says an
appender has to write to a file; it can do whatever it wants with the log
event/message.

-Mark

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

Reply via email to