Anders Bälter

Keep it simple!

Mar 312012

While working with logging of an application I found that the thing I wanted to test was the actual output from a logger. After digging around a bit I found a neat thing in log4j called AppenderSkeleton. It’s pretty straight forward, extend AppenderSkeleton to keep track of log events and add your new appender to the RootLogger.

Continue reading »