Skip navigation links
A C D E F G I L M R S W 

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
 
add(LogEvent) - Method in class it.openutils.log4j2.ExtendedSmtpManager
Add event to internal buffer.
addMimeMultipart(MimeMultipart, byte[], String) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 
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.
append(LogEvent) - Method in class it.openutils.log4j2.ExtendedSmtpAppender
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
 
createAppender(String, String, String, String, String, String, String, String, String, int, String, String, boolean, int, Layout<? extends Serializable>, Filter, boolean, int, char, boolean, int, boolean, boolean, boolean, boolean) - Static method in class it.openutils.log4j2.ExtendedSmtpAppender
Create an ExtendedSmtpAppender.

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

encodeContent(byte[], String, ByteArrayOutputStream) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 
encodeContentToBytes(byte[], String) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 
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
 
ExtendedSmtpAppender - Class in it.openutils.log4j2
// see https://issues.apache.org/jira/browse/LOG4J2-1192 Like standard org.apache.logging.log4j.core.appender.SmtpAppender but with some additional features like PatternLayout for subject, so subject changes with each log event, and burst summarizing.
ExtendedSmtpManager - Class in it.openutils.log4j2
see https://issues.apache.org/jira/browse/LOG4J2-1192 Like standard org.apache.logging.log4j.core.appender.SmtpManager but with some additional features (subject with layout, burst summarizing).
ExtendedSmtpManager(String, Session, MimeMessage, ExtendedSmtpManager.FactoryData) - Constructor for class it.openutils.log4j2.ExtendedSmtpManager
Create instance.

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
 
formatContentToBytes(LogEvent[], LogEvent, Layout<?>) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 

G

getBufferSize() - Method in class it.openutils.log4j.AlternateSMTPAppender
 
getDatePattern() - Method in class it.openutils.log4j.EnhancedDailyRollingFileAppender
Returns the value of the DatePattern option.
getEncoding(byte[], String) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 
getEvaluatorClass() - Method in class it.openutils.log4j.AlternateSMTPAppender
 
getFooter() - Method in class it.openutils.log4j.FilteredPatternLayout
Returns the footer.
getFrom() - Method in class it.openutils.log4j.AlternateSMTPAppender
 
getHeader() - Method in class it.openutils.log4j.FilteredPatternLayout
Returns the header.
getHeaders(String, String) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 
getLocationInfo() - Method in class it.openutils.log4j.AlternateSMTPAppender
 
getMimeMultipart(byte[], InternetHeaders) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 
getSMTPHost() - Method in class it.openutils.log4j.AlternateSMTPAppender
 
getSMTPManager(ExtendedSmtpManager.FactoryData, String, String) - Static method in class it.openutils.log4j2.ExtendedSmtpManager
Factory method: get existing or create a new manager for SMTP messages.
getSubject() - Method in class it.openutils.log4j.AlternateSMTPAppender
 
getTimeout() - Method in class it.openutils.log4j.AlternateSMTPAppender
Returns the timeout.
getTo() - Method in class it.openutils.log4j.AlternateSMTPAppender
 

I

ignoresThrowable() - Method in class it.openutils.log4j.FilteredPatternLayout
 
init(ServletConfig) - Method in class it.openutils.log4j.Log4jConfigurationServlet
isFiltered(LogEvent) - Method in class it.openutils.log4j2.ExtendedSmtpAppender
Capture all events in CyclicBuffer.
it.openutils.log4j - package it.openutils.log4j
 
it.openutils.log4j2 - package it.openutils.log4j2
 

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

releaseSub(long, TimeUnit) - Method in class it.openutils.log4j2.ExtendedSmtpManager
"Close" the manager: stop the background thread and wait for its end (typically is very fast).
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.
sendEvents(Layout<?>, LogEvent) - Method in class it.openutils.log4j2.ExtendedSmtpManager
Send the contents of the cyclic buffer as an e-mail message.
sendMultipartMessage(MimeMessage, String, MimeMultipart) - Method in class it.openutils.log4j2.ExtendedSmtpManager
Send the email message.
sendSummary(ExtendedSmtpManager.SummarizeData) - Method in class it.openutils.log4j2.ExtendedSmtpManager
Send summary email.
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
 
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
 
setHeader(String) - Method in class it.openutils.log4j.FilteredPatternLayout
Sets the header.
setLocationInfo(boolean) - Method in class it.openutils.log4j.AlternateSMTPAppender
 
setSMTPHost(String) - Method in class it.openutils.log4j.AlternateSMTPAppender
 
setSubject(String) - Method in class it.openutils.log4j.AlternateSMTPAppender
 
setTimeout(int) - Method in class it.openutils.log4j.AlternateSMTPAppender
Sets the timeout.
setTo(String) - Method in class it.openutils.log4j.AlternateSMTPAppender
 
stop() - Method in class it.openutils.log4j2.ExtendedSmtpAppender
 
subAppend(LoggingEvent) - Method in class it.openutils.log4j.EnhancedDailyRollingFileAppender
This method differentiates DailyRollingFileAppender from its super class.

W

writeBuffer(LogEvent[], LogEvent, Layout<?>, OutputStream) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 
writeFooter(Layout<?>, OutputStream) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 
writeHeader(Layout<?>, OutputStream) - Method in class it.openutils.log4j2.ExtendedSmtpManager
 
A C D E F G I L M R S W 
Skip navigation links

Copyright © 2005–2019. All rights reserved.