public void setPattern(String pattern) {
this.pattern = pattern;
}
protected Object doExecute() throws Exception {
PatternConverter cnv = new PatternParser(overridenPattern != null ? overridenPattern : pattern).parse();
Iterable<PaxLoggingEvent> le = events.getElements(entries == 0 ? Integer.MAX_VALUE : entries);
StringBuffer sb = new StringBuffer();
for (PaxLoggingEvent event : le) {
sb.setLength(0);