|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.log4j.AppenderSkeleton
org.apache.log4j.WriterAppender
org.apache.log4j.FileAppender
org.apache.log4j.RollingFileAppender
net.sf.magicproject.tools.RollingFileAppender
public class RollingFileAppender
| Constructor Summary | |
|---|---|
RollingFileAppender()
The default constructor simply calls its FileAppender parents constructor. |
|
RollingFileAppender(org.apache.log4j.Layout layout,
java.lang.String filename)
Instantiate a FileAppender and open the file designated by filename. |
|
RollingFileAppender(org.apache.log4j.Layout layout,
java.lang.String filename,
boolean append)
Instantiate a RollingFileAppender and open the file designated by filename. |
|
| Method Summary |
|---|
| Methods inherited from class org.apache.log4j.RollingFileAppender |
|---|
getMaxBackupIndex, getMaximumFileSize, rollOver, setFile, setMaxBackupIndex, setMaxFileSize, setMaximumFileSize |
| Methods inherited from class org.apache.log4j.FileAppender |
|---|
activateOptions, getAppend, getBufferedIO, getBufferSize, getFile, setAppend, setBufferedIO, setBufferSize, setFile |
| Methods inherited from class org.apache.log4j.WriterAppender |
|---|
append, close, getEncoding, getImmediateFlush, requiresLayout, setEncoding, setErrorHandler, setImmediateFlush, setWriter |
| Methods inherited from class org.apache.log4j.AppenderSkeleton |
|---|
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setLayout, setName, setThreshold |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RollingFileAppender()
FileAppender parents constructor.
public RollingFileAppender(org.apache.log4j.Layout layout,
java.lang.String filename,
boolean append)
throws java.io.IOException
filename. The opened filename will become the ouput
destination for this appender.
If the append parameter is true, the file will be appended
to. Otherwise, the file desginated by filename will be
truncated before being opened.
layout - The layout parameter does not need to be set if the appender
implementation has its own layout.filename - The path to the log file.append - If true will append to fileName. Otherwise will truncate fileName.
java.io.IOException - If some other I/O error occurs
public RollingFileAppender(org.apache.log4j.Layout layout,
java.lang.String filename)
throws java.io.IOException
filename. The opened filename will become the output
destination for this appender.
The file will be appended to.
layout - The layout parameter does not need to be set if the appender
implementation has its own layout.filename - The path to the log file.
java.io.IOException - If some other I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||