
Hello, I have committed an initial version of the logback logging event Corpus. The actual source is in the ch.qos.logback.classic.corpus package. Typical usage: ILoggingEvent[] eventArray = Corpus.makeStandardCorpus(); The returned array contains 50'000 elements. Calling the makeStandatdCorpus() method multiple times will yield the exact same results every time. If you wish to vary the number of results returned or use a different random generator seed, just look into the source code. It should be fairly easy to adapt. For the probabilistic model of the Corpus see the CorpusModel class. Most of the work is done in this class. Altough it makes several sweeping assumptions and may be improved on several counts, I think the model is fairly representative of the logs generated by a real application. You can see the output of the corpus when dumped into a file at: http://logback.qos.ch/corpus.txt Your comments are welcome, -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch