public List<String> getLogs(long timestamp) {
        List<String> rt = new ArrayList<String>();
        List<LoggingEvent> copiedEvents = this.getEvents();
        for (LoggingEvent event : copiedEvents) {
            if (event.timeStamp > timestamp) {
                rt.add(this.layout.format(event));
            }
        }
        return rt;
    }
Custom daily rolling file appender for metaq,it keeps an bounded queue in
memory to hold latest logs.

@author dennis<killme2008@gmail.com>
metamorphosis-commons/src/main/java/com/taobao/metamorphosis/utils/log/MetaqDailyRollingFileAppender.java