A C D E F G H I J L M N O P R S T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- activateOptions() - Method in class org.apache.log4j.ConsoleAppender
-
Prepares the appender for use.
- activateOptions() - Method in class org.apache.log4j.net.SMTPAppender
-
Activate the specified options, such as the smtp host, the recipient, from, etc.
- addAppender(Appender) - Method in class org.apache.log4j.Category
- addAppender(Appender) - Method in class org.apache.log4j.spi.NOPLogger
- addHierarchyEventListener(HierarchyEventListener) - Method in class org.apache.log4j.Hierarchy
- addRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
- addressMessage(Message) - Method in class org.apache.log4j.net.SMTPAppender
-
Address message.
- append(LoggingEvent) - Method in class org.apache.log4j.net.SMTPAppender
-
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.
- assertLog(boolean, String) - Method in class org.apache.log4j.Category
- assertLog(boolean, String) - Method in class org.apache.log4j.spi.NOPLogger
C
- callAppenders(LoggingEvent) - Method in class org.apache.log4j.Category
- callAppenders(LoggingEvent) - Method in class org.apache.log4j.spi.NOPLogger
- Category - Class in org.apache.log4j
- Category(String) - Constructor for class org.apache.log4j.Category
- categoryName - Variable in class org.apache.log4j.spi.LoggingEvent
- catFactory - Variable in class org.apache.log4j.xml.DOMConfigurator
- cb - Variable in class org.apache.log4j.net.SMTPAppender
- checkEntryConditions() - Method in class org.apache.log4j.net.SMTPAppender
-
This method determines if there is a sense in attempting to append.
- clear() - Method in class org.apache.log4j.Hierarchy
- clear() - Static method in class org.apache.log4j.MDC
- clear() - Static method in class org.apache.log4j.NDC
- cloneStack() - Static method in class org.apache.log4j.NDC
- close() - Method in class org.apache.log4j.net.SMTPAppender
- closeWriter() - Method in class org.apache.log4j.ConsoleAppender
- CONFIGURATOR_CLASS_KEY - Static variable in class org.apache.log4j.LogManager
- configure(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
A static version of
DOMConfigurator.doConfigure(String, LoggerRepository)
. - configure(URL) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
A static version of
DOMConfigurator.doConfigure(URL, LoggerRepository)
. - configure(Element) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Configure log4j using a
configuration
element as defined in the log4j.dtd. - configureAndWatch(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Like
DOMConfigurator.configureAndWatch(String, long)
except that the default delay as defined byFileWatchdog.DEFAULT_DELAY
is used. - configureAndWatch(String, long) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Read the configuration file
configFilename
if it exists. - ConsoleAppender - Class in org.apache.log4j
-
ConsoleAppender appends log events to
System.out
orSystem.err
using a layout specified by the user. - ConsoleAppender() - Constructor for class org.apache.log4j.ConsoleAppender
-
Constructs an unconfigured appender.
- ConsoleAppender(Layout) - Constructor for class org.apache.log4j.ConsoleAppender
-
Creates a configured appender.
- ConsoleAppender(Layout, String) - Constructor for class org.apache.log4j.ConsoleAppender
-
Creates a configured appender.
- createSession() - Method in class org.apache.log4j.net.SMTPAppender
-
Create mail session.
D
- debug(Object) - Method in class org.apache.log4j.Category
- debug(Object) - Method in class org.apache.log4j.spi.NOPLogger
- debug(Object, Throwable) - Method in class org.apache.log4j.Category
- debug(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
- DEFAULT_CONFIGURATION_FILE - Static variable in class org.apache.log4j.LogManager
- DEFAULT_CONFIGURATION_KEY - Static variable in class org.apache.log4j.LogManager
- DEFAULT_INIT_OVERRIDE_KEY - Static variable in class org.apache.log4j.LogManager
- DEFAULT_LEVEL - Static variable in class org.apache.log4j.JBossLevelMapping
- DEFAULT_LOG4J_LEVEL - Static variable in class org.apache.log4j.JBossLevelMapping
- doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
- doConfigure(Reader, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
- doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
- doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
- doConfigure(Element, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Configure by taking in an DOM element.
- doConfigure(InputSource, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
- DOMConfigurator - Class in org.apache.log4j.xml
-
Use this class to initialize the log4j environment using a DOM tree.
- DOMConfigurator() - Constructor for class org.apache.log4j.xml.DOMConfigurator
-
No argument constructor.
E
- emitNoAppenderWarning(Category) - Method in class org.apache.log4j.Hierarchy
- error(Object) - Method in class org.apache.log4j.Category
- error(Object) - Method in class org.apache.log4j.spi.NOPLogger
- error(Object, Throwable) - Method in class org.apache.log4j.Category
- error(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
- evaluator - Variable in class org.apache.log4j.net.SMTPAppender
- exists(String) - Static method in class org.apache.log4j.Category
- exists(String) - Method in class org.apache.log4j.Hierarchy
- exists(String) - Static method in class org.apache.log4j.LogManager
F
- fatal(Object) - Method in class org.apache.log4j.Category
- fatal(Object) - Method in class org.apache.log4j.spi.NOPLogger
- fatal(Object, Throwable) - Method in class org.apache.log4j.Category
- fatal(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
- FilteredObjectInputStream - Class in org.apache.log4j
-
Extended ObjectInputStream that only allows certain classes to be deserialized.
- FilteredObjectInputStream(InputStream, Collection<String>) - Constructor for class org.apache.log4j.FilteredObjectInputStream
- findAppenderByName(Document, String) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse appenders by IDREF name.
- findAppenderByReference(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse appenders by IDREF element.
- fireAddAppenderEvent(Category, Appender) - Method in class org.apache.log4j.Hierarchy
- forcedLog(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
- formatBody() - Method in class org.apache.log4j.net.SMTPAppender
-
Layout body of email message.
- fqnOfCategoryClass - Variable in class org.apache.log4j.spi.LoggingEvent
G
- get() - Static method in class org.apache.log4j.NDC
- get(String) - Static method in class org.apache.log4j.MDC
- getAdditivity() - Method in class org.apache.log4j.Category
- getAllAppenders() - Method in class org.apache.log4j.Category
- getAllAppenders() - Method in class org.apache.log4j.spi.NOPLogger
- getAppender(String) - Method in class org.apache.log4j.Category
- getAppender(String) - Method in class org.apache.log4j.spi.NOPLogger
- getBcc() - Method in class org.apache.log4j.net.SMTPAppender
-
Get the bcc recipient addresses.
- getBufferSize() - Method in class org.apache.log4j.net.SMTPAppender
-
Returns value of the BufferSize option.
- getCc() - Method in class org.apache.log4j.net.SMTPAppender
-
Get the cc recipient addresses.
- getChainedPriority() - Method in class org.apache.log4j.Category
-
Deprecated.
- getChainedPriority() - Method in class org.apache.log4j.spi.NOPLogger
-
Deprecated.
- getContext() - Static method in class org.apache.log4j.MDC
- getCurrentCategories() - Static method in class org.apache.log4j.Category
- getCurrentCategories() - Method in class org.apache.log4j.Hierarchy
- getCurrentLoggers() - Method in class org.apache.log4j.Hierarchy
- getCurrentLoggers() - Static method in class org.apache.log4j.LogManager
- getDefaultHierarchy() - Static method in class org.apache.log4j.Category
-
Deprecated.
- getDepth() - Static method in class org.apache.log4j.NDC
- getEffectiveLevel() - Method in class org.apache.log4j.Category
- getEffectiveLevel() - Method in class org.apache.log4j.spi.NOPLogger
- getEvaluator() - Method in class org.apache.log4j.net.SMTPAppender
-
Get triggering evaluator.
- getEvaluatorClass() - Method in class org.apache.log4j.net.SMTPAppender
-
Returns value of the EvaluatorClass option.
- getFollow() - Method in class org.apache.log4j.ConsoleAppender
-
Gets whether the appender honors reassignments of System.out or System.err made after configuration.
- getFQNOfLoggerClass() - Method in class org.apache.log4j.spi.LoggingEvent
- getFrom() - Method in class org.apache.log4j.net.SMTPAppender
-
Returns value of the From option.
- getHierarchy() - Method in class org.apache.log4j.Category
-
Deprecated.
- getHierarchy() - Method in class org.apache.log4j.spi.NOPLogger
-
Deprecated.
- getInstance(Class) - Static method in class org.apache.log4j.Category
-
Deprecated.
- getInstance(String) - Static method in class org.apache.log4j.Category
-
Deprecated.
- getLevel() - Method in class org.apache.log4j.Category
- getLevel() - Method in class org.apache.log4j.spi.LoggingEvent
- getLevelFor(Priority) - Static method in class org.apache.log4j.JBossLevelMapping
-
Finds the
jboss-log-manager level
for the log4j priority. - getLocationInfo() - Method in class org.apache.log4j.net.SMTPAppender
-
Returns value of the LocationInfo option.
- getLocationInformation() - Method in class org.apache.log4j.spi.LoggingEvent
- getLogger() - Method in class org.apache.log4j.spi.LoggingEvent
- getLogger(Class) - Static method in class org.apache.log4j.Logger
- getLogger(Class) - Static method in class org.apache.log4j.LogManager
- getLogger(String) - Method in class org.apache.log4j.Hierarchy
- getLogger(String) - Static method in class org.apache.log4j.Logger
- getLogger(String) - Static method in class org.apache.log4j.LogManager
- getLogger(String, LoggerFactory) - Method in class org.apache.log4j.Hierarchy
- getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.Logger
- getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.LogManager
- getLoggerName() - Method in class org.apache.log4j.spi.LoggingEvent
- getLoggerRepository() - Method in class org.apache.log4j.Category
- getLoggerRepository() - Static method in class org.apache.log4j.LogManager
- getLoggerRepository() - Method in class org.apache.log4j.spi.NOPLogger
- getLoggerRepository(LogContext) - Static method in class org.apache.log4j.JBossLogManagerFacade
-
Gets the log4j logger repository for the log context.
- getLogRecord() - Method in class org.apache.log4j.spi.LoggingEvent
- getMDC(String) - Method in class org.apache.log4j.spi.LoggingEvent
- getMDCCopy() - Method in class org.apache.log4j.spi.LoggingEvent
- getMessage() - Method in class org.apache.log4j.spi.LoggingEvent
- getName() - Method in class org.apache.log4j.Category
- getNDC() - Method in class org.apache.log4j.spi.LoggingEvent
- getParent() - Method in class org.apache.log4j.Category
- getPriority() - Method in class org.apache.log4j.Category
-
Deprecated.
- getPriorityFor(int) - Static method in class org.apache.log4j.JBossLevelMapping
-
Finds the
log4j level
for thelevel
. - getPriorityFor(Level) - Static method in class org.apache.log4j.JBossLevelMapping
-
Finds the
log4j level
for thelevel
. - getProperties() - Method in class org.apache.log4j.spi.LoggingEvent
- getProperty(String) - Method in class org.apache.log4j.spi.LoggingEvent
- getPropertyKeySet() - Method in class org.apache.log4j.spi.LoggingEvent
- getRenderedMessage() - Method in class org.apache.log4j.spi.LoggingEvent
- getRendererMap() - Method in class org.apache.log4j.Hierarchy
- getReplyTo() - Method in class org.apache.log4j.net.SMTPAppender
-
Get the reply addresses.
- getResource(String) - Static method in class org.apache.log4j.helpers.Loader
-
This method will search for
resource
in different places. - getResource(String, Class) - Static method in class org.apache.log4j.helpers.Loader
-
Deprecated.as of 1.2.
- getResourceBundle() - Method in class org.apache.log4j.Category
- getResourceBundle() - Method in class org.apache.log4j.spi.NOPLogger
- getResourceBundleString(String) - Method in class org.apache.log4j.Category
- getRoot() - Static method in class org.apache.log4j.Category
-
Deprecated.
- getRootLogger() - Method in class org.apache.log4j.Hierarchy
- getRootLogger() - Static method in class org.apache.log4j.Logger
- getRootLogger() - Static method in class org.apache.log4j.LogManager
- getSendOnClose() - Method in class org.apache.log4j.net.SMTPAppender
-
Get sendOnClose.
- getSMTPDebug() - Method in class org.apache.log4j.net.SMTPAppender
-
Get SMTP debug.
- getSMTPHost() - Method in class org.apache.log4j.net.SMTPAppender
-
Returns value of the SMTPHost option.
- getSMTPPassword() - Method in class org.apache.log4j.net.SMTPAppender
-
Get SMTP password.
- getSMTPPort() - Method in class org.apache.log4j.net.SMTPAppender
-
Get port.
- getSMTPProtocol() - Method in class org.apache.log4j.net.SMTPAppender
-
Get transport protocol.
- getSMTPUsername() - Method in class org.apache.log4j.net.SMTPAppender
-
Get SMTP user name.
- getStartTime() - Static method in class org.apache.log4j.spi.LoggingEvent
- getSubject() - Method in class org.apache.log4j.net.SMTPAppender
-
Returns value of the Subject option.
- getTarget() - Method in class org.apache.log4j.ConsoleAppender
-
Returns the current value of the Target property.
- getThreadName() - Method in class org.apache.log4j.spi.LoggingEvent
- getThreshold() - Method in class org.apache.log4j.Hierarchy
- getThrowableInformation() - Method in class org.apache.log4j.spi.LoggingEvent
- getThrowableRenderer() - Method in class org.apache.log4j.Hierarchy
- getThrowableStrRep() - Method in class org.apache.log4j.spi.LoggingEvent
- getTimeStamp() - Method in class org.apache.log4j.spi.LoggingEvent
- getTo() - Method in class org.apache.log4j.net.SMTPAppender
-
Returns value of the To option.
H
- Hierarchy - Class in org.apache.log4j
-
Our replacement for the log4j
Hierarchy
class. - Hierarchy(Logger) - Constructor for class org.apache.log4j.Hierarchy
I
- info(Object) - Method in class org.apache.log4j.Category
- info(Object) - Method in class org.apache.log4j.spi.NOPLogger
- info(Object, Throwable) - Method in class org.apache.log4j.Category
- info(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
- inherit(Stack) - Static method in class org.apache.log4j.NDC
- isAttached(Appender) - Method in class org.apache.log4j.Category
- isAttached(Appender) - Method in class org.apache.log4j.spi.NOPLogger
- isDebugEnabled() - Method in class org.apache.log4j.Category
- isDebugEnabled() - Method in class org.apache.log4j.spi.NOPLogger
- isDisabled(int) - Method in class org.apache.log4j.Hierarchy
- isEnabledFor(Priority) - Method in class org.apache.log4j.Category
- isEnabledFor(Priority) - Method in class org.apache.log4j.spi.NOPLogger
- isInfoEnabled() - Method in class org.apache.log4j.Category
- isInfoEnabled() - Method in class org.apache.log4j.spi.NOPLogger
- isJava1() - Static method in class org.apache.log4j.helpers.Loader
-
Are we running under JDK 1.x?
- isTraceEnabled() - Method in class org.apache.log4j.Logger
- isTraceEnabled() - Method in class org.apache.log4j.spi.NOPLogger
J
- JBL_ROOT_NAME - Static variable in class org.apache.log4j.JBossLogManagerFacade
- JBossLevelMapping - Class in org.apache.log4j
- JBossLogManagerFacade - Class in org.apache.log4j
-
A simple facade to interact between
LogManager
andLogManager
.
L
- l7dlog(Priority, String, Object[], Throwable) - Method in class org.apache.log4j.Category
- l7dlog(Priority, String, Object[], Throwable) - Method in class org.apache.log4j.spi.NOPLogger
- l7dlog(Priority, String, Throwable) - Method in class org.apache.log4j.Category
- l7dlog(Priority, String, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
- level - Variable in class org.apache.log4j.Category
- level - Variable in class org.apache.log4j.spi.LoggingEvent
- loadClass(String) - Static method in class org.apache.log4j.helpers.Loader
-
If running under JDK 1.2 load the specified class using the
Thread
contextClassLoader
if that fails try Class.forname. - Loader - Class in org.apache.log4j.helpers
-
Load resources (or images) from various sources.
- Loader() - Constructor for class org.apache.log4j.helpers.Loader
- locationInformationExists() - Method in class org.apache.log4j.spi.LoggingEvent
- log(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
- log(String, Priority, Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
- log(Priority, Object) - Method in class org.apache.log4j.Category
- log(Priority, Object) - Method in class org.apache.log4j.spi.NOPLogger
- log(Priority, Object, Throwable) - Method in class org.apache.log4j.Category
- log(Priority, Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
- LOG4J_ROOT_NAME - Static variable in class org.apache.log4j.JBossLogManagerFacade
- Logger - Class in org.apache.log4j
- Logger(String) - Constructor for class org.apache.log4j.Logger
- LoggingEvent - Class in org.apache.log4j.spi
-
Our LoggingEvent class which is designed to look and act just like log4j's, but which maintains an internal
ExtLogRecord
instance. - LoggingEvent(String, Category, long, Level, Object, String, ThrowableInformation, String, LocationInfo, Map) - Constructor for class org.apache.log4j.spi.LoggingEvent
- LoggingEvent(String, Category, long, Priority, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
- LoggingEvent(String, Category, Priority, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
- LoggingEvent(ExtLogRecord, Category) - Constructor for class org.apache.log4j.spi.LoggingEvent
- LogManager - Class in org.apache.log4j
- LogManager() - Constructor for class org.apache.log4j.LogManager
M
- MDC - Class in org.apache.log4j
- MDC() - Constructor for class org.apache.log4j.MDC
- msg - Variable in class org.apache.log4j.net.SMTPAppender
N
- NDC - Class in org.apache.log4j
- NOPLogger - Class in org.apache.log4j.spi
-
No-operation implementation of Logger used by NOPLoggerRepository.
- NOPLogger(NOPLoggerRepository, String) - Constructor for class org.apache.log4j.spi.NOPLogger
-
Create instance of Logger.
O
- org.apache.log4j - package org.apache.log4j
- org.apache.log4j.helpers - package org.apache.log4j.helpers
- org.apache.log4j.net - package org.apache.log4j.net
- org.apache.log4j.spi - package org.apache.log4j.spi
- org.apache.log4j.xml - package org.apache.log4j.xml
- overrideAsNeeded(String) - Method in class org.apache.log4j.Hierarchy
-
Deprecated.
P
- parent - Variable in class org.apache.log4j.Category
- parse(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to configure the log4j framework by parsing a DOM tree of XML elements based on log4j.dtd.
- parseAppender(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse an appender element.
- parseCategory(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse an category element.
- parseCategoryFactory(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse the category factory element.
- parseChildrenOfLoggerElement(Element, Logger, boolean) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse the children of a category element.
- parseElement(Element, Properties, Class) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Creates an object and processes any nested param elements but does not call activateOptions.
- parseErrorHandler(Element, Appender) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse an
ErrorHandler
element. - parseFilters(Element, Appender) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse a filter element.
- parseLayout(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse a layout element.
- parseLevel(Element, Logger, boolean) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse a level element.
- parseRenderer(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
- parseRoot(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse the roor category element.
- parseThrowableRenderer(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Parses throwable renderer.
- parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.net.SMTPAppender
- peek() - Static method in class org.apache.log4j.NDC
- pop() - Static method in class org.apache.log4j.NDC
- push(String) - Static method in class org.apache.log4j.NDC
- put(String, Object) - Static method in class org.apache.log4j.MDC
R
- remove() - Static method in class org.apache.log4j.NDC
- remove(String) - Static method in class org.apache.log4j.MDC
- removeAllAppenders() - Method in class org.apache.log4j.Category
- removeAllAppenders() - Method in class org.apache.log4j.spi.NOPLogger
- removeAppender(String) - Method in class org.apache.log4j.Category
- removeAppender(String) - Method in class org.apache.log4j.spi.NOPLogger
- removeAppender(Appender) - Method in class org.apache.log4j.Category
- removeAppender(Appender) - Method in class org.apache.log4j.spi.NOPLogger
- removeProperty(String) - Method in class org.apache.log4j.spi.LoggingEvent
- requiresLayout() - Method in class org.apache.log4j.net.SMTPAppender
-
The
SMTPAppender
requires alayout
. - resetConfiguration() - Method in class org.apache.log4j.Hierarchy
- resetConfiguration() - Static method in class org.apache.log4j.LogManager
- resolveClass(ObjectStreamClass) - Method in class org.apache.log4j.FilteredObjectInputStream
- run() - Method in class org.apache.log4j.net.SocketNode
S
- sendBuffer() - Method in class org.apache.log4j.net.SMTPAppender
-
Send the contents of the cyclic buffer as an e-mail message.
- setAdditivity(boolean) - Method in class org.apache.log4j.Category
- setBcc(String) - Method in class org.apache.log4j.net.SMTPAppender
-
Set the bcc recipient addresses.
- setBufferSize(int) - Method in class org.apache.log4j.net.SMTPAppender
-
The BufferSize option takes a positive integer representing the maximum number of logging events to collect in a cyclic buffer.
- setCc(String) - Method in class org.apache.log4j.net.SMTPAppender
-
Set the cc recipient addresses.
- setDisableOverride(String) - Method in class org.apache.log4j.Hierarchy
-
Deprecated.
- setEvaluator(TriggeringEventEvaluator) - Method in class org.apache.log4j.net.SMTPAppender
-
Sets triggering evaluator.
- setEvaluatorClass(String) - Method in class org.apache.log4j.net.SMTPAppender
-
The EvaluatorClass option takes a string value representing the name of the class implementing the
TriggeringEventEvaluator
interface. - setFollow(boolean) - Method in class org.apache.log4j.ConsoleAppender
-
Sets whether the appender honors reassignments of System.out or System.err made after configuration.
- setFrom(String) - Method in class org.apache.log4j.net.SMTPAppender
-
The From option takes a string value which should be a e-mail address of the sender.
- setLevel(Level) - Method in class org.apache.log4j.Category
- setLevel(Level) - Method in class org.apache.log4j.spi.NOPLogger
- setLocationInfo(boolean) - Method in class org.apache.log4j.net.SMTPAppender
-
The LocationInfo option takes a boolean value.
- setMaxDepth(int) - Static method in class org.apache.log4j.NDC
- setParameter(Element, PropertySetter) - Method in class org.apache.log4j.xml.DOMConfigurator
- setParameter(Element, PropertySetter, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Sets a parameter based from configuration file content.
- setPriority(Priority) - Method in class org.apache.log4j.Category
- setPriority(Priority) - Method in class org.apache.log4j.spi.NOPLogger
-
Deprecated.
- setProperty(String, String) - Method in class org.apache.log4j.spi.LoggingEvent
- setRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
- setReplyTo(String) - Method in class org.apache.log4j.net.SMTPAppender
-
Set the e-mail addresses to which replies should be directed.
- setRepositorySelector(RepositorySelector, Object) - Static method in class org.apache.log4j.LogManager
-
Always throws a
SecurityException
. - setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.Category
- setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.spi.NOPLogger
- setSendOnClose(boolean) - Method in class org.apache.log4j.net.SMTPAppender
-
Set sendOnClose.
- setSMTPDebug(boolean) - Method in class org.apache.log4j.net.SMTPAppender
-
Setting the SmtpDebug option to true will cause the mail session to log its server interaction to stdout.
- setSMTPHost(String) - Method in class org.apache.log4j.net.SMTPAppender
-
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.
- setSMTPPassword(String) - Method in class org.apache.log4j.net.SMTPAppender
-
The SmtpPassword option takes a string value which should be the password required to authenticate against the mail server.
- setSMTPPort(int) - Method in class org.apache.log4j.net.SMTPAppender
-
Set port.
- setSMTPProtocol(String) - Method in class org.apache.log4j.net.SMTPAppender
-
Set transport protocol.
- setSMTPUsername(String) - Method in class org.apache.log4j.net.SMTPAppender
-
The SmtpUsername option takes a string value which should be the username required to authenticate against the mail server.
- setSubject(String) - Method in class org.apache.log4j.net.SMTPAppender
-
The Subject option takes a string value which should be a the subject of the e-mail message.
- setTarget(String) - Method in class org.apache.log4j.ConsoleAppender
-
Sets the value of the Target option.
- setThreshold(String) - Method in class org.apache.log4j.Hierarchy
- setThreshold(Level) - Method in class org.apache.log4j.Hierarchy
- setThrowableRenderer(ThrowableRenderer) - Method in class org.apache.log4j.Hierarchy
- setTo(String) - Method in class org.apache.log4j.net.SMTPAppender
-
The To option takes a string value which should be a comma separated list of e-mail address of the recipients.
- shutdown() - Static method in class org.apache.log4j.Category
- shutdown() - Method in class org.apache.log4j.Hierarchy
- shutdown() - Static method in class org.apache.log4j.LogManager
- SMTPAppender - Class in org.apache.log4j.net
-
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
- SMTPAppender() - Constructor for class org.apache.log4j.net.SMTPAppender
-
The default constructor will instantiate the appender with a
TriggeringEventEvaluator
that will trigger on events with level ERROR or higher. - SMTPAppender(TriggeringEventEvaluator) - Constructor for class org.apache.log4j.net.SMTPAppender
-
Use
evaluator
passed as parameter as theTriggeringEventEvaluator
for this SMTPAppender. - SocketNode - Class in org.apache.log4j.net
-
Read
LoggingEvent
objects sent from a remote client using Sockets (TCP). - SocketNode(Socket, LoggerRepository) - Constructor for class org.apache.log4j.net.SocketNode
- subst(String) - Method in class org.apache.log4j.xml.DOMConfigurator
- subst(String, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Substitutes property value for any references in expression.
- SYSTEM_ERR - Static variable in class org.apache.log4j.ConsoleAppender
- SYSTEM_OUT - Static variable in class org.apache.log4j.ConsoleAppender
T
- target - Variable in class org.apache.log4j.ConsoleAppender
- timeStamp - Variable in class org.apache.log4j.spi.LoggingEvent
- trace(Object) - Method in class org.apache.log4j.Logger
- trace(Object) - Method in class org.apache.log4j.spi.NOPLogger
- trace(Object, Throwable) - Method in class org.apache.log4j.Logger
- trace(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
W
- warn(Object) - Method in class org.apache.log4j.Category
- warn(Object) - Method in class org.apache.log4j.spi.NOPLogger
- warn(Object, Throwable) - Method in class org.apache.log4j.Category
- warn(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
All Classes All Packages