@Command(scope = "log", name = "tail", description = "Continuously display log entries.")
public class LogTail extends DisplayLog {
protected Object doExecute() throws Exception {
final PatternConverter cnv = new PatternParser(overridenPattern != null ? overridenPattern : pattern).parse();
final PrintStream out = System.out;
Iterable<PaxLoggingEvent> le = events.getElements(entries == 0 ? Integer.MAX_VALUE : entries);
for (PaxLoggingEvent event : le) {
display(cnv, event, out);