com.taobao.metamorphosis.utils.log
类 MetaqDailyRollingFileAppender
java.lang.Object
org.apache.log4j.AppenderSkeleton
org.apache.log4j.WriterAppender
org.apache.log4j.FileAppender
org.apache.log4j.DailyRollingFileAppender
com.taobao.metamorphosis.utils.log.MetaqDailyRollingFileAppender
- 所有已实现的接口:
- org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler
public class MetaqDailyRollingFileAppender
- extends org.apache.log4j.DailyRollingFileAppender
Custom daily rolling file appender for metaq,it keeps an bounded queue in
memory to hold latest logs.
- 作者:
- dennis
从类 org.apache.log4j.FileAppender 继承的字段 |
bufferedIO, bufferSize, fileAppend, fileName |
从类 org.apache.log4j.WriterAppender 继承的字段 |
encoding, immediateFlush, qw |
从类 org.apache.log4j.AppenderSkeleton 继承的字段 |
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
从类 org.apache.log4j.DailyRollingFileAppender 继承的方法 |
getDatePattern, setDatePattern |
从类 org.apache.log4j.FileAppender 继承的方法 |
closeFile, getAppend, getBufferedIO, getBufferSize, getFile, reset, setAppend, setBufferedIO, setBufferSize, setFile, setFile, setQWForFiles |
从类 org.apache.log4j.WriterAppender 继承的方法 |
append, checkEntryConditions, close, closeWriter, createWriter, getEncoding, getImmediateFlush, requiresLayout, setEncoding, setErrorHandler, setImmediateFlush, setWriter, writeFooter, writeHeader |
从类 org.apache.log4j.AppenderSkeleton 继承的方法 |
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setLayout, setName, setThreshold |
MetaqDailyRollingFileAppender
public MetaqDailyRollingFileAppender()
getLogs
public List<String> getLogs(long timestamp)
setLogBufferSize
public void setLogBufferSize(int logBufferSize)
getLogBufferSize
public int getLogBufferSize()
activateOptions
public void activateOptions()
- 指定者:
- 接口
org.apache.log4j.spi.OptionHandler
中的 activateOptions
- 覆盖:
- 类
org.apache.log4j.DailyRollingFileAppender
中的 activateOptions
subAppend
protected void subAppend(org.apache.log4j.spi.LoggingEvent event)
- 覆盖:
- 类
org.apache.log4j.DailyRollingFileAppender
中的 subAppend
Copyright © 2010–2013. All rights reserved.