public class ThreadFileAppender
extends org.apache.log4j.RollingFileAppender
Constructor and Description |
---|
ThreadFileAppender(UserInfo userInfo,
boolean email,
java.lang.String emailId) |
Modifier and Type | Method and Description |
---|---|
void |
append(org.apache.log4j.spi.LoggingEvent event) |
void |
sendEmail()
Override this method to rename the log file name prepended with
machine name and server name.
|
getMaxBackupIndex, getMaximumFileSize, rollOver, setFile, setMaxBackupIndex, setMaxFileSize, setMaximumFileSize
activateOptions, getAppend, getBufferedIO, getBufferSize, getFile, setAppend, setBufferedIO, setBufferSize, setFile
close, getEncoding, getImmediateFlush, requiresLayout, setEncoding, setErrorHandler, setImmediateFlush, setWriter
public ThreadFileAppender(UserInfo userInfo, boolean email, java.lang.String emailId)
public void sendEmail()
public void append(org.apache.log4j.spi.LoggingEvent event)
append
in class org.apache.log4j.WriterAppender