I have a use case where I want an appender to write to local storage (a file), the file should be structured, such that I can query it later (or load it into a database). Since I will log a lot of data very fast (possibly MBs a minute), I might or might not use log4j in async mode. But the bottom line is that I'd like to log to local structured storage without paying the cost of going through a database layer (NoSQL, JDBC) or a socket. This makes me wonder if I should create a CSV file appender... which would be easy enough.
Does anyone here have experience with a use case like this? I'm not crazy about running MongoDB on the side just to gather logging, but maybe that's what I'll need to do... Thoughts? Gary -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
