org.pentaho.di.core.logging
Class Log4jFileAppender
java.lang.Object
org.pentaho.di.core.logging.Log4jFileAppender
- All Implemented Interfaces:
- org.apache.log4j.Appender
public class Log4jFileAppender
- extends Object
- implements org.apache.log4j.Appender
Log4jFileAppender
public Log4jFileAppender(org.apache.commons.vfs.FileObject file)
throws IOException
- Throws:
IOException
Log4jFileAppender
public Log4jFileAppender(org.apache.commons.vfs.FileObject file,
boolean append)
throws IOException
- Throws:
IOException
addFilter
public void addFilter(org.apache.log4j.spi.Filter filter)
- Specified by:
addFilter
in interface org.apache.log4j.Appender
getFilter
public org.apache.log4j.spi.Filter getFilter()
- Specified by:
getFilter
in interface org.apache.log4j.Appender
clearFilters
public void clearFilters()
- Specified by:
clearFilters
in interface org.apache.log4j.Appender
close
public void close()
- Specified by:
close
in interface org.apache.log4j.Appender
doAppend
public void doAppend(org.apache.log4j.spi.LoggingEvent event)
- Specified by:
doAppend
in interface org.apache.log4j.Appender
setName
public void setName(String name)
- Specified by:
setName
in interface org.apache.log4j.Appender
getName
public String getName()
- Specified by:
getName
in interface org.apache.log4j.Appender
setErrorHandler
public void setErrorHandler(org.apache.log4j.spi.ErrorHandler arg0)
- Specified by:
setErrorHandler
in interface org.apache.log4j.Appender
getErrorHandler
public org.apache.log4j.spi.ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler
in interface org.apache.log4j.Appender
setLayout
public void setLayout(org.apache.log4j.Layout layout)
- Specified by:
setLayout
in interface org.apache.log4j.Appender
getLayout
public org.apache.log4j.Layout getLayout()
- Specified by:
getLayout
in interface org.apache.log4j.Appender
requiresLayout
public boolean requiresLayout()
- Specified by:
requiresLayout
in interface org.apache.log4j.Appender
getFile
public org.apache.commons.vfs.FileObject getFile()
setFilename
public void setFilename(org.apache.commons.vfs.FileObject file)
getFileOutputStream
public OutputStream getFileOutputStream()
setFileOutputStream
public void setFileOutputStream(OutputStream fileOutputStream)
setFilter
public void setFilter(org.apache.log4j.spi.Filter filter)