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

No comments: