Showing posts with label log4j. Show all posts
Showing posts with label log4j. Show all posts

Tuesday, August 21, 2007

Receive Application Errors via Yahoo Messenger

Logging application events is a central part of many applications. Most of our applications do some sort of logging, using a variety of mechanisms. When things go wrong, the first course of action is usually to get hold of the application log file and go through its contents.

Someone supporting live, deployed applications would probably appreciate the importance of getting notified of application errors as early as possible. It is much better to be proactive dealing with errors, rather than waiting to hear from the customer that something seems to have gone wrong.

How about getting notified immediately, by utilizing an instant messenger client like Yahoo Messenger? (Read More..)


Monday, August 20, 2007

RSS feed of your application logs.

How about getting RSS updates of your application logs?

Heres a sample and simple Log4J RSS appender.
The RSS Appender binary can be download here.

1. to log4j.appender.rss=org.lorecraft.rssappender.RSSAppender
2. log4j.appender.rss.port=1234
3. log4j.appender.rss.maxSize=10
4. log4j.appender.rss.layout=org.apache.log4j.PatternLayout
5. log4j.appender.rss.layout.ConversionPattern=%d {ABSOLUTE} %5p %c {1}: %L - %m%n
6. log4j.rootLogger=info, rss