A C D E F G I L M R S

A

activateOptions() - Method in class it.openutils.log4j.AlternateSMTPAppender
Activate the specified options, such as the smtp host, the recipient, from, etc.
activateOptions() - Method in class it.openutils.log4j.EnhancedDailyRollingFileAppender
 
AlternateSMTPAppender - Class in it.openutils.log4j
An alternative of org.apache.log4j.net.SMTPAppender with few differences: allow customizing the mail subject using a pattern can be configured with a timeout (in seconds), it will only send messages after this timeout it will send a mail for every single message (bufferSize is not supported), but it will aggregate any identical log event received during the timeout.
AlternateSMTPAppender() - Constructor for class it.openutils.log4j.AlternateSMTPAppender
The default constructor will instantiate the appender with a TriggeringEventEvaluator that will trigger on events with level ERROR or higher.
AlternateSMTPAppender(TriggeringEventEvaluator) - Constructor for class it.openutils.log4j.AlternateSMTPAppender
Use evaluator passed as parameter as the TriggeringEventEvaluator for this SMTPAppender.
append(LoggingEvent) - Method in class it.openutils.log4j.AlternateSMTPAppender
Perform SMTPAppender specific appending actions, mainly adding the event to a cyclic buffer and checking if the event triggers an e-mail to be sent.

C

checkEntryConditions() - Method in class it.openutils.log4j.AlternateSMTPAppender
This method determines if there is a sense in attempting to append.
close() - Method in class it.openutils.log4j.AlternateSMTPAppender
 

D

doGet(HttpServletRequest, HttpServletResponse) - Method in class it.openutils.log4j.Log4jConfigurationServlet
Print the status of all current Logger s and an option to change their respective logging levels.
doPost(HttpServletRequest, HttpServletResponse) - Method in class it.openutils.log4j.Log4jConfigurationServlet
Change a Logger's level, then call doGet to refresh the page.
DynamicSubjectSMTPAppender - Class in it.openutils.log4j
Deprecated. use it.openutils.log4j.AlternateSMTPAppender which has this and other features
DynamicSubjectSMTPAppender() - Constructor for class it.openutils.log4j.DynamicSubjectSMTPAppender
Deprecated.  

E

EnhancedDailyRollingFileAppender - Class in it.openutils.log4j
Enhanced version of standard DailyRollingFileAppender that allow moving rotated files to a different directory.
EnhancedDailyRollingFileAppender() - Constructor for class it.openutils.log4j.EnhancedDailyRollingFileAppender
The default constructor does nothing.
EnhancedDailyRollingFileAppender(Layout, String, String) - Constructor for class it.openutils.log4j.EnhancedDailyRollingFileAppender
Instantiate a DailyRollingFileAppender and open the file designated by filename.
evaluator - Variable in class it.openutils.log4j.AlternateSMTPAppender
 
events - Variable in class it.openutils.log4j.AlternateSMTPAppender
 

F

FilteredPatternLayout - Class in it.openutils.log4j
An extension of org.apache.log4j.PatternLayout which strips out from stack traces a list of configured entries.
FilteredPatternLayout() - Constructor for class it.openutils.log4j.FilteredPatternLayout
 
format(LoggingEvent) - Method in class it.openutils.log4j.FilteredPatternLayout
 

G

getBufferSize() - Method in class it.openutils.log4j.AlternateSMTPAppender
Returns value of the BufferSize option.
getDatePattern() - Method in class it.openutils.log4j.EnhancedDailyRollingFileAppender
Returns the value of the DatePattern option.
getEvaluatorClass() - Method in class it.openutils.log4j.AlternateSMTPAppender
Returns value of the EvaluatorClass option.
getFooter() - Method in class it.openutils.log4j.FilteredPatternLayout
Returns the footer.
getFrom() - Method in class it.openutils.log4j.AlternateSMTPAppender
Returns value of the From option.
getHeader() - Method in class it.openutils.log4j.FilteredPatternLayout
Returns the header.
getLocationInfo() - Method in class it.openutils.log4j.AlternateSMTPAppender
Returns value of the LocationInfo option.
getSMTPHost() - Method in class it.openutils.log4j.AlternateSMTPAppender
Returns value of the SMTPHost option.
getSubject() - Method in class it.openutils.log4j.AlternateSMTPAppender
Returns value of the Subject option.
getTimeout() - Method in class it.openutils.log4j.AlternateSMTPAppender
Returns the timeout.
getTo() - Method in class it.openutils.log4j.AlternateSMTPAppender
Returns value of the To option.

I

ignoresThrowable() - Method in class it.openutils.log4j.FilteredPatternLayout
 
init(ServletConfig) - Method in class it.openutils.log4j.Log4jConfigurationServlet
it.openutils.log4j - package it.openutils.log4j
 

L

Log4jConfigurationServlet - Class in it.openutils.log4j
A servlet used to dynamically adjust package logging levels while an application is running.
Log4jConfigurationServlet() - Constructor for class it.openutils.log4j.Log4jConfigurationServlet
 

M

msg - Variable in class it.openutils.log4j.AlternateSMTPAppender
 

R

requiresLayout() - Method in class it.openutils.log4j.AlternateSMTPAppender
The SMTPAppender requires a layout.

S

sendBuffer(Collection<LoggingEventAggregator>) - Method in class it.openutils.log4j.AlternateSMTPAppender
Send the contents of the cyclic buffer as an e-mail message.
setArchiveDirectory(String) - Method in class it.openutils.log4j.EnhancedDailyRollingFileAppender
Sets the archiveDirectory.
setBufferSize(int) - Method in class it.openutils.log4j.AlternateSMTPAppender
Deprecated. 
setDatePattern(String) - Method in class it.openutils.log4j.EnhancedDailyRollingFileAppender
The DatePattern takes a string in the same format as expected by SimpleDateFormat.
setEvaluator(TriggeringEventEvaluator) - Method in class it.openutils.log4j.AlternateSMTPAppender
 
setEvaluatorClass(String) - Method in class it.openutils.log4j.AlternateSMTPAppender
The EvaluatorClass option takes a string value representing the name of the class implementing the TriggeringEventEvaluator interface.
setFilter(String) - Method in class it.openutils.log4j.FilteredPatternLayout
Adds a new filtered frame.
setFooter(String) - Method in class it.openutils.log4j.FilteredPatternLayout
Sets the footer.
setFrom(String) - Method in class it.openutils.log4j.AlternateSMTPAppender
The From option takes a string value which should be a e-mail address of the sender.
setHeader(String) - Method in class it.openutils.log4j.FilteredPatternLayout
Sets the header.
setLocationInfo(boolean) - Method in class it.openutils.log4j.AlternateSMTPAppender
The LocationInfo option takes a boolean value.
setSMTPHost(String) - Method in class it.openutils.log4j.AlternateSMTPAppender
The SMTPHost option takes a string value which should be a the host name of the SMTP server that will send the e-mail message.
setSubject(String) - Method in class it.openutils.log4j.AlternateSMTPAppender
The Subject option takes a string value which should be a the subject of the e-mail message.
setTimeout(int) - Method in class it.openutils.log4j.AlternateSMTPAppender
Sets the timeout.
setTo(String) - Method in class it.openutils.log4j.AlternateSMTPAppender
The To option takes a string value which should be a comma separated list of e-mail address of the recipients.
subAppend(LoggingEvent) - Method in class it.openutils.log4j.EnhancedDailyRollingFileAppender
This method differentiates DailyRollingFileAppender from its super class.

A C D E F G I L M R S

Copyright © 2008 Openmind. All Rights Reserved.