|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.AppenderSkeleton
org.glite.rgma.log4j.Appender
public class Appender
Class traps any log4j calls and then publishes them using an R-GMA 'In-Memory' Primary Producer.
Constructor Summary | |
---|---|
Appender()
|
Method Summary | |
---|---|
void |
activateOptions()
Method called by the log4j system once all the properties have been initialised from the config file. |
void |
append(org.apache.log4j.spi.LoggingEvent event)
Log4j calls this method when a logging event is generated. |
void |
close()
Called when the log4j system terminates - provides hook in-order to cleanup the rgma producer. |
java.lang.String |
getJobName()
Returns the job name of the application. |
boolean |
requiresLayout()
Indicates this appender should format any logging events. |
void |
setJobName(java.lang.String jobName)
Sets the job name (initialised by the log4j system). |
Methods inherited from class org.apache.log4j.AppenderSkeleton |
---|
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Appender()
Method Detail |
---|
public void append(org.apache.log4j.spi.LoggingEvent event)
append
in class org.apache.log4j.AppenderSkeleton
public boolean requiresLayout()
public void activateOptions()
activateOptions
in interface org.apache.log4j.spi.OptionHandler
activateOptions
in class org.apache.log4j.AppenderSkeleton
public void close()
public void setJobName(java.lang.String jobName)
public java.lang.String getJobName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |