com.ibm.di.api.syslog
Class SystemLogAppender

java.lang.Object
  extended by org.apache.log4j.AppenderSkeleton
      extended by org.apache.log4j.WriterAppender
          extended by org.apache.log4j.FileAppender
              extended by com.ibm.di.api.syslog.SystemLogAppender
All Implemented Interfaces:
org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler

public class SystemLogAppender
extends org.apache.log4j.FileAppender
implements org.apache.log4j.spi.OptionHandler


Field Summary
 
Fields inherited from class org.apache.log4j.FileAppender
bufferedIO, bufferSize, fileAppend, fileName
 
Fields inherited from class org.apache.log4j.WriterAppender
encoding, immediateFlush, qw
 
Fields inherited from class org.apache.log4j.AppenderSkeleton
closed, errorHandler, headFilter, layout, name, tailFilter, threshold
 
Constructor Summary
SystemLogAppender()
           
SystemLogAppender(String aComponentType, String aComponentName, String aLogPattern, String aConfigId)
           
 
Method Summary
 void activateOptions()
           
 String getComponentName()
           
 String getComponentType()
           
 String getConfigId()
           
 String getFileName()
           
 String getLogPattern()
           
 void setComponentName(String aComponentName)
           
 void setComponentType(String aComponentType)
           
 void setConfigId(String aConfigId)
           
 void setConfigInstance(Object configInstance)
           
 void setLogPattern(String aLogPattern)
           
 
Methods inherited from class org.apache.log4j.FileAppender
closeFile, getAppend, getBufferedIO, getBufferSize, getFile, reset, setAppend, setBufferedIO, setBufferSize, setFile, setFile, setQWForFiles
 
Methods inherited from class org.apache.log4j.WriterAppender
append, checkEntryConditions, close, closeWriter, createWriter, getEncoding, getImmediateFlush, requiresLayout, setEncoding, setErrorHandler, setImmediateFlush, setWriter, subAppend, writeFooter, writeHeader
 
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
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemLogAppender

public SystemLogAppender()
                  throws Exception
Throws:
Exception

SystemLogAppender

public SystemLogAppender(String aComponentType,
                         String aComponentName,
                         String aLogPattern,
                         String aConfigId)
                  throws Exception
Throws:
Exception
Method Detail

setComponentType

public void setComponentType(String aComponentType)
                      throws Exception
Throws:
Exception

getComponentType

public String getComponentType()
                        throws Exception
Throws:
Exception

setComponentName

public void setComponentName(String aComponentName)
                      throws Exception
Throws:
Exception

getComponentName

public String getComponentName()
                        throws Exception
Throws:
Exception

setConfigId

public void setConfigId(String aConfigId)
                 throws Exception
Throws:
Exception

setConfigInstance

public void setConfigInstance(Object configInstance)
                       throws Exception
Throws:
Exception

getConfigId

public String getConfigId()
                   throws Exception
Throws:
Exception

setLogPattern

public void setLogPattern(String aLogPattern)
                   throws Exception
Throws:
Exception

getLogPattern

public String getLogPattern()
                     throws Exception
Throws:
Exception

getFileName

public String getFileName()

activateOptions

public void activateOptions()
Specified by:
activateOptions in interface org.apache.log4j.spi.OptionHandler
Overrides:
activateOptions in class org.apache.log4j.FileAppender