1. Post-log processing / GUI: http://traxel.com/lumbermill/ http://www.puppycrawl.com/chainsaw http://www.servidium.com/site/logfactor5/index.html
2. Alerting to errors: Why would you want to have to parse the logs for this? Either use SMTP appender: http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html or use FileAppender & HTMLLayout http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/HTMLLayout.html If none of those work - you can create a custom appender to do the work for you in real time. If you are worried that your processing may be complex (for example updating a remote database & sending emails), use the Async Appender: http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/AsyncAppender.html Cheers, Scott -- Scott Farquhar :: [EMAIL PROTECTED] Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World Robert Hewlett wrote: > Does Log4J have a utility to parse it out. > > 1. If a DailyRolling logfile was used someone > might want to parse the logs looking for special > information. > > I was thinking about writing a little applet that > would load the data and allow the user to select > what they wanted to show and not to show and spit > out an excel spreadsheet or a txt file or spit out > and .html file to place on a website for viewing. > > Although Log4J is used mostly for logging errors. I > like to use the Audit level to track users performing > certain tasks so I can create a user profile of the > different users and what they are trying to do on > my sites. This I think would help me create a site > tailored towards my customers needs. > > 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. > > ERROR: web-site down > EMAIL:[EMAIL PROTECTED],[EMAIL PROTECTED] > > Just some suggestions. I wouldnt mind creating some > things to make this happen. > > Thanks, > Rob > > -- > 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]>
