Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviate(int, StringBuffer) - Method in class org.apache.log4j.pattern.NameAbbreviator
-
Abbreviates a name in a StringBuffer.
- ABS_TIME_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
-
String constant used to specify
AbsoluteTimeDateFormatin layouts. - ABSOLUTE_FORMAT - Static variable in interface org.apache.log4j.component.helpers.Constants
-
ABSOLUTE string literal.
- ABSOLUTE_TIME_PATTERN - Static variable in interface org.apache.log4j.component.helpers.Constants
-
SimpleTimePattern for ABSOLUTE.
- AbsoluteTimeDateFormat - Class in org.apache.log4j.helpers
-
Formats a
Datein the format "HH:mm:ss,SSS" for example, "15:49:37,459". - AbsoluteTimeDateFormat() - Constructor for class org.apache.log4j.helpers.AbsoluteTimeDateFormat
- AbsoluteTimeDateFormat(TimeZone) - Constructor for class org.apache.log4j.helpers.AbsoluteTimeDateFormat
- AbstractBuilder<T> - Class in org.apache.log4j.builders
-
Base class for Log4j 1 component builders.
- AbstractBuilder() - Constructor for class org.apache.log4j.builders.AbstractBuilder
- AbstractBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.AbstractBuilder
- AbstractDynamicMBean - Class in org.apache.log4j.jmx
- AbstractDynamicMBean() - Constructor for class org.apache.log4j.jmx.AbstractDynamicMBean
- ACCEPT - Static variable in class org.apache.log4j.spi.Filter
-
The log event must be logged immediately without consulting with the remaining filters, if any, in the chain.
- ACCEPT_ON_MATCH_OPTION - Static variable in class org.apache.log4j.varia.StringMatchFilter
-
Deprecated.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
- activate() - Method in class org.apache.log4j.config.PropertySetter
- activateOptions() - Method in class org.apache.log4j.AppenderSkeleton
- activateOptions() - Method in class org.apache.log4j.FileAppender
-
If the value of File is not
null, thenFileAppender.setFile(java.lang.String)is called with the values of File and Append properties. - activateOptions() - Method in class org.apache.log4j.helpers.DateLayout
- activateOptions() - Method in class org.apache.log4j.PatternLayout
-
Does not do anything as options become effective
- activateOptions() - Method in class org.apache.log4j.spi.Filter
-
Usually filters options become active when set.
- activateOptions() - Method in interface org.apache.log4j.spi.OptionHandler
- activateOptions() - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
No options to activate.
- activateOptions() - Method in class org.apache.log4j.varia.NullAppender
-
There are no options to acticate.
- activateOptions() - Method in class org.apache.log4j.VectorAppender
-
Does nothing.
- activateOptions() - Method in class org.apache.log4j.WriterAppender
-
Does nothing.
- adapt(Appender) - Static method in class org.apache.log4j.bridge.AppenderAdapter
-
Adapts a Log4j 1.x appender into a Log4j 2.x appender.
- adapt(Layout) - Static method in class org.apache.log4j.bridge.LayoutAdapter
-
Adapts a Log4j 1.x layout into a Log4j 2.x layout.
- adapt(Filter) - Static method in class org.apache.log4j.bridge.FilterAdapter
-
Adapts a Log4j 1.x filter into a Log4j 2.x filter.
- adapt(Appender) - Static method in class org.apache.log4j.bridge.AppenderWrapper
-
Adapts a Log4j 2.x appender into a Log4j 1.x appender.
- adapt(Filter) - Static method in class org.apache.log4j.bridge.FilterWrapper
-
Adapts a Log4j 2.x filter into a Log4j 1.x filter.
- adapt(Layout<?>) - Static method in class org.apache.log4j.bridge.LayoutWrapper
-
Adapts a Log4j 2.x layout into a Log4j 1.x layout.
- Adapter(String, Filter, Layout<? extends Serializable>, boolean, Property[]) - Constructor for class org.apache.log4j.bridge.AppenderAdapter.Adapter
- add(LoggingEvent) - Method in class org.apache.log4j.helpers.CyclicBuffer
-
Adds an
eventas the last event in the buffer. - addAppender(Appender) - Method in class org.apache.log4j.Category
-
Add
newAppenderto the list of appenders of this Category instance. - addAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
- addAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Add an appender.
- addAppender(Appender) - Method in class org.apache.log4j.spi.NOPLogger
-
Add
newAppenderto the list of appenders of this Category instance. - addAppender(Logger, Appender) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
-
Adds an appender to the logger.
- addAppenderEvent(Category, Appender) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- addAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
- addAppenderIfAbsent(Appender) - Method in class org.apache.log4j.xml.XmlConfiguration
- addConverter(PatternConverter) - Method in class org.apache.log4j.helpers.PatternParser
- addFilter(AtomicReference<Filter>, Element) - Method in class org.apache.log4j.xml.XmlConfiguration
-
Used internally to parse a filter element.
- addFilter(Filter) - Method in interface org.apache.log4j.Appender
-
Add a filter to the end of the filter list.
- addFilter(Filter) - Method in class org.apache.log4j.AppenderSkeleton
- addFilter(Filter) - Method in class org.apache.log4j.bridge.AppenderWrapper
- addFilter(Filter, Filter) - Static method in class org.apache.log4j.bridge.FilterAdapter
-
Appends one filter to another using Log4j 2.x concatenation utilities.
- addHierarchyEventListener(HierarchyEventListener) - Method in class org.apache.log4j.Hierarchy
- addHierarchyEventListener(HierarchyEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
-
Add a
HierarchyEventListenerevent to the repository. - addHierarchyEventListener(HierarchyEventListener) - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Add a
HierarchyEventListenerevent to the repository. - additive - Variable in class org.apache.log4j.Category
-
Additivity is set to true by default, that is children inherit the appenders of their ancestors by default.
- addLoggerMBean(String) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- addNotificationListener(NotificationListener, NotificationFilter, Object) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- addProperties(Object, String[], Properties, String) - Method in class org.apache.log4j.config.PropertiesConfiguration
- addRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
-
Adds an object renderer for a specific class.
- addRenderer(RendererSupport, String, String) - Static method in class org.apache.log4j.or.RendererMap
-
Add a renderer to a hierarchy passed as parameter.
- ADDRESS_PARSE_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
- Agent - Class in org.apache.log4j.jmx
-
Deprecated.
- Agent() - Constructor for class org.apache.log4j.jmx.Agent
-
Deprecated.
- ALL - Static variable in class org.apache.log4j.Level
-
The
ALLhas the lowest possible rank and is intended to turn on all logging. - ALL_INT - Static variable in class org.apache.log4j.Priority
-
The
ALLhas the lowest possible rank and is intended to turn on all logging. - append(LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton
- append(LoggingEvent) - Method in class org.apache.log4j.ConsoleAppender
-
This method is called by the
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)method. - append(LoggingEvent) - Method in class org.apache.log4j.varia.NullAppender
-
Does not do anything.
- append(LoggingEvent) - Method in class org.apache.log4j.VectorAppender
-
This method is called by the
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)method. - append(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
-
This method is called by the
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)method. - append(LogEvent) - Method in class org.apache.log4j.bridge.AppenderAdapter.Adapter
- APPEND_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
- Appender - Interface in org.apache.log4j
-
Implement this interface for your own strategies for outputting log statements.
- APPENDER_REF_TAG - Static variable in class org.apache.log4j.config.Log4j1Configuration
- AppenderAdapter - Class in org.apache.log4j.bridge
-
Binds a Log4j 1.x Appender to Log4j 2.
- AppenderAdapter.Adapter - Class in org.apache.log4j.bridge
- AppenderAttachable - Interface in org.apache.log4j.spi
-
Interface for attaching appenders to objects.
- AppenderAttachableImpl - Class in org.apache.log4j.helpers
-
Allows Classes to attach Appenders.
- AppenderAttachableImpl() - Constructor for class org.apache.log4j.helpers.AppenderAttachableImpl
- AppenderBuilder<T> - Interface in org.apache.log4j.builders.appender
-
Define an Appender Builder.
- AppenderDynamicMBean - Class in org.apache.log4j.jmx
- AppenderDynamicMBean(Appender) - Constructor for class org.apache.log4j.jmx.AppenderDynamicMBean
- appenderList - Variable in class org.apache.log4j.helpers.AppenderAttachableImpl
-
Array of appenders.
- AppenderSkeleton - Class in org.apache.log4j
-
The base class for Appenders in Log4j 1.
- AppenderSkeleton() - Constructor for class org.apache.log4j.AppenderSkeleton
-
Create new instance.
- AppenderSkeleton(boolean) - Constructor for class org.apache.log4j.AppenderSkeleton
- AppenderSkeleton.NoOpErrorHandler - Class in org.apache.log4j
- AppenderWrapper - Class in org.apache.log4j.bridge
-
Wraps a Log4j 2 Appender in an empty Log4j 1 Appender so it can be extracted when constructing the configuration.
- AppenderWrapper(Appender) - Constructor for class org.apache.log4j.bridge.AppenderWrapper
-
Constructs a new instance for a Core Appender.
- appendLoopOnAppenders(LoggingEvent) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
-
Calls the
doAppendmethod on all attached appenders. - APPLICATION_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
-
application string literal.
- assertLog(boolean, String) - Method in class org.apache.log4j.Category
- assertLog(boolean, String) - Method in class org.apache.log4j.spi.NOPLogger
- AsyncAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build an Asynch Appender
- AsyncAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.AsyncAppenderBuilder
- AsyncAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.AsyncAppenderBuilder
B
- BasicConfigurator - Class in org.apache.log4j
-
Configures the package.
- BasicConfigurator() - Constructor for class org.apache.log4j.BasicConfigurator
-
Constructs a new instance.
- BooleanHolder - Class in org.apache.log4j.builders
-
Deprecated.Use
AtomicReference. - BooleanHolder() - Constructor for class org.apache.log4j.builders.BooleanHolder
-
Deprecated.
- BoundedFIFO - Class in org.apache.log4j.helpers
-
Bounded first-in-first-out buffer.
- BoundedFIFO(int) - Constructor for class org.apache.log4j.helpers.BoundedFIFO
-
Constructs a new instance with a maximum size passed as argument.
- BUF_SIZE - Variable in class org.apache.log4j.PatternLayout
- BUFFER_SIZE_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
- BUFFERED_IO_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
- bufferedIO - Variable in class org.apache.log4j.FileAppender
-
Do we do bufferedIO?
- bufferSize - Variable in class org.apache.log4j.FileAppender
-
Determines the size of IO buffer be.
- build() - Method in class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- buildConfigurationBuilder(InputStream) - Method in class org.apache.log4j.config.Log4j1ConfigurationParser
-
Parses a Log4j 1.2 properties configuration file in ISO 8859-1 encoding into a ConfigurationBuilder.
- Builder<T> - Interface in org.apache.log4j.builders
-
A marker interface for Log4j 1.x component builders.
- Builder() - Constructor for class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- BuilderManager - Class in org.apache.log4j.builders
- BuilderManager() - Constructor for class org.apache.log4j.builders.BuilderManager
-
Constructs a new instance.
- buildFilters(String, Filter) - Static method in class org.apache.log4j.builders.AbstractBuilder
- bundle - Variable in class org.apache.log4j.Category
-
Resource bundle for localized messages.
C
- callAppenders(LoggingEvent) - Method in class org.apache.log4j.Category
-
Call the appenders in the hierrachy starting at
this. - callAppenders(LoggingEvent) - Method in class org.apache.log4j.spi.NOPLogger
-
Call the appenders in the hierrachy starting at
this. - Category - Class in org.apache.log4j
-
Implementation of the Category class for compatibility, despite it having been deprecated a long, long time ago.
- Category(String) - Constructor for class org.apache.log4j.Category
-
Constructor exposed by Log4j 1.2.
- Category(LoggerContext, String) - Constructor for class org.apache.log4j.Category
-
Constructor used by Logger to specify a LoggerContext.
- CATEGORY - Static variable in class org.apache.log4j.builders.BuilderManager
-
Plugin category.
- CategoryUtil - Class in org.apache.log4j.legacy.core
-
Delegates to
Loggermethods implemented bylog4j-coreif appropriate. - checkAndConfigure() - Method in class org.apache.log4j.helpers.FileWatchdog
- checkEntryConditions() - Method in class org.apache.log4j.WriterAppender
-
This method determines if there is a sense in attempting to append.
- clear() - Method in class org.apache.log4j.Hierarchy
-
This call will clear all logger definitions from the internal hashtable.
- clear() - Static method in class org.apache.log4j.MDC
- clear() - Static method in class org.apache.log4j.NDC
-
Clear any nested diagnostic information if any.
- clear() - Method in class org.apache.log4j.or.RendererMap
- clearFilters() - Method in interface org.apache.log4j.Appender
-
Clear the list of filters by removing all the filters in it.
- clearFilters() - Method in class org.apache.log4j.AppenderSkeleton
- clearFilters() - Method in class org.apache.log4j.bridge.AppenderWrapper
- cloneStack() - Static method in class org.apache.log4j.NDC
-
Clone the diagnostic context for the current thread.
- close() - Method in interface org.apache.log4j.Appender
-
Release any resources allocated within the appender such as file handles, network connections, etc.
- close() - Method in class org.apache.log4j.bridge.AppenderWrapper
- close() - Method in class org.apache.log4j.ConsoleAppender
-
Close this appender instance.
- close() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
-
Closes all appenders.
- close() - Method in class org.apache.log4j.varia.NullAppender
- close() - Method in class org.apache.log4j.VectorAppender
- close() - Method in class org.apache.log4j.WriterAppender
-
Close this appender instance.
- CLOSE_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
- closed - Variable in class org.apache.log4j.AppenderSkeleton
- closeFile() - Method in class org.apache.log4j.FileAppender
-
Closes the previously opened file.
- closeWriter() - Method in class org.apache.log4j.WriterAppender
-
Close the underlying
Writer. - CODES_HREF - Static variable in interface org.apache.log4j.component.helpers.Constants
-
Codes URL string literal.
- CommandLineArguments() - Constructor for class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- CompositeTriggeringPolicyBuilder - Class in org.apache.log4j.builders.rolling
- CompositeTriggeringPolicyBuilder() - Constructor for class org.apache.log4j.builders.rolling.CompositeTriggeringPolicyBuilder
- CompositeTriggeringPolicyBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.rolling.CompositeTriggeringPolicyBuilder
- concatanateArrays(String[], String[]) - Static method in class org.apache.log4j.helpers.OptionConverter
- CONFIG - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
CONFIG.
- CONFIG_DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
-
Deprecated.Use
LogLog.DEBUG_KEYinstead. - CONFIG_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for CONFIG.
- Configurator - Interface in org.apache.log4j.spi
-
Log4j 1.x Configurator interface.
- CONFIGURATOR_CLASS_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
-
log4j.configuratorClass string literal.
- CONFIGURATOR_CLASS_KEY - Static variable in class org.apache.log4j.LogManager
-
Deprecated.This variable is for internal use only. It will become private in future versions.
- configure() - Static method in class org.apache.log4j.BasicConfigurator
-
Adds a
ConsoleAppenderthat usesPatternLayoutusing thePatternLayout.TTCC_CONVERSION_PATTERNand prints toSystem.outto the root category. - configure(InputStream) - Static method in class org.apache.log4j.PropertyConfigurator
-
Reads configuration options from an InputStream.
- configure(String) - Static method in class org.apache.log4j.PropertyConfigurator
-
Reads configuration options from configuration file.
- configure(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
- configure(URL) - Static method in class org.apache.log4j.PropertyConfigurator
-
Reads configuration options from url
configURL. - configure(URL) - Static method in class org.apache.log4j.xml.DOMConfigurator
- configure(Properties) - Static method in class org.apache.log4j.PropertyConfigurator
-
Reads configuration options from
properties. - configure(Appender) - Static method in class org.apache.log4j.BasicConfigurator
-
Adds
appenderto the root category. - configure(Element) - Static method in class org.apache.log4j.xml.DOMConfigurator
- configureAndWatch(String) - Static method in class org.apache.log4j.PropertyConfigurator
-
Like
PropertyConfigurator.configureAndWatch(String, long)except that the default delay as defined by FileWatchdog.DEFAULT_DELAY is used. - configureAndWatch(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
- configureAndWatch(String, long) - Static method in class org.apache.log4j.PropertyConfigurator
-
Reads the configuration file
configFilenameif it exists. - configureAndWatch(String, long) - Static method in class org.apache.log4j.xml.DOMConfigurator
- configureLoggerFactory(Properties) - Method in class org.apache.log4j.PropertyConfigurator
-
Checks the provided
Propertiesobject for aLoggerFactoryentry specified byPropertyConfigurator.LOGGER_FACTORY_KEY. - ConsoleAppender - Class in org.apache.log4j
-
Placeholder for Log4j 1.2 Console Appender.
- ConsoleAppender() - Constructor for class org.apache.log4j.ConsoleAppender
-
Constructs a non-configured appender.
- ConsoleAppender(Layout) - Constructor for class org.apache.log4j.ConsoleAppender
-
Constructs a configured appender.
- ConsoleAppender(Layout, String) - Constructor for class org.apache.log4j.ConsoleAppender
-
Constructs a configured appender.
- ConsoleAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build a Console Appender
- ConsoleAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.ConsoleAppenderBuilder
- ConsoleAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.ConsoleAppenderBuilder
- Constants - Interface in org.apache.log4j.component.helpers
-
Constants used internally throughout log4j.
- ContextUtil - Class in org.apache.log4j.legacy.core
-
Delegates to
LoggerContextmethods implemented bylog4j-coreif appropriate. - convert(InputStream, OutputStream) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter
- convert(LoggingEvent) - Method in class org.apache.log4j.helpers.PatternConverter
-
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
- convertArg(String, Class<?>) - Method in class org.apache.log4j.config.PropertySetter
-
Convert
vala String parameter to an object of a given type. - convertLevel(String, Level) - Static method in class org.apache.log4j.helpers.OptionConverter
- convertLevel(Priority) - Static method in class org.apache.log4j.helpers.OptionConverter
- convertLevel(Level) - Static method in class org.apache.log4j.helpers.OptionConverter
- convertSpecialChars(String) - Static method in class org.apache.log4j.helpers.OptionConverter
- count - Variable in class org.apache.log4j.helpers.CountingQuietWriter
- CountingQuietWriter - Class in org.apache.log4j.helpers
-
Counts the number of bytes written.
- CountingQuietWriter(Writer, ErrorHandler) - Constructor for class org.apache.log4j.helpers.CountingQuietWriter
- createLayout(boolean, boolean) - Static method in class org.apache.log4j.layout.Log4j1XmlLayout
- createLevel(Priority) - Static method in class org.apache.log4j.helpers.OptionConverter
- createPatternParser(String) - Method in class org.apache.log4j.PatternLayout
-
Returns PatternParser used to parse the conversion string.
- createWriter(OutputStream) - Method in class org.apache.log4j.WriterAppender
-
Returns an OutputStreamWriter when passed an OutputStream.
- currentLiteral - Variable in class org.apache.log4j.helpers.PatternParser
- CyclicBuffer - Class in org.apache.log4j.helpers
-
Holds
LoggingEventsfor immediate or differed display. - CyclicBuffer(int) - Constructor for class org.apache.log4j.helpers.CyclicBuffer
-
Constructs a new instance of at most
maxSizeevents.
D
- DailyRollingFileAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build a Daily Rolling File Appender
- DailyRollingFileAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.DailyRollingFileAppenderBuilder
- DailyRollingFileAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.DailyRollingFileAppenderBuilder
- date - Variable in class org.apache.log4j.helpers.DateLayout
- DATE_AND_TIME_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
-
String constant used to specify
DateTimeDateFormatin layouts. - DATE_AND_TIME_FORMAT - Static variable in interface org.apache.log4j.component.helpers.Constants
-
DATE string literal.
- DATE_AND_TIME_PATTERN - Static variable in interface org.apache.log4j.component.helpers.Constants
-
SimpleTimePattern for DATE.
- DATE_FORMAT_OPTION - Static variable in class org.apache.log4j.helpers.DateLayout
-
Deprecated.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
- dateFormat - Variable in class org.apache.log4j.helpers.DateLayout
- dateFormat(StringBuffer, LoggingEvent) - Method in class org.apache.log4j.helpers.DateLayout
- DateLayout - Class in org.apache.log4j.helpers
-
This abstract layout takes care of all the date related options and formatting work.
- DateLayout() - Constructor for class org.apache.log4j.helpers.DateLayout
- DateTimeDateFormat - Class in org.apache.log4j.helpers
-
Formats a
Datein the format "dd MMM yyyy HH:mm:ss,SSS" for example, "06 Nov 1994 15:49:37,459". - DateTimeDateFormat() - Constructor for class org.apache.log4j.helpers.DateTimeDateFormat
- DateTimeDateFormat(TimeZone) - Constructor for class org.apache.log4j.helpers.DateTimeDateFormat
- 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
- debug(String) - Static method in class org.apache.log4j.helpers.LogLog
-
Logs Log4j internal debug statements.
- debug(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
-
Logs Log4j internal debug statements.
- DEBUG - Static variable in class org.apache.log4j.Level
-
The
DEBUGLevel designates fine-grained informational events that are most useful to debug an application. - DEBUG - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.DEBUGinstead. - DEBUG_INT - Static variable in class org.apache.log4j.Priority
-
The
DEBUGLevel designates fine-grained informational events that are most useful to debug an application. - DEBUG_KEY - Static variable in class org.apache.log4j.config.PropertiesConfiguration
- DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
-
Makes Log4j print log4j-internal debug statements to
System.out. - debugEnabled - Static variable in class org.apache.log4j.helpers.LogLog
-
Debug enabled Enable or disable.
- decide(LoggingEvent) - Method in class org.apache.log4j.bridge.FilterWrapper
-
This method is never called.
- decide(LoggingEvent) - Method in class org.apache.log4j.spi.Filter
-
If the decision is
DENY, then the event will be dropped. - decide(LoggingEvent) - Method in class org.apache.log4j.varia.DenyAllFilter
-
Always returns the integer constant
Filter.DENYregardless of theLoggingEventparameter. - decide(LoggingEvent) - Method in class org.apache.log4j.varia.LevelMatchFilter
-
Return the decision of this filter.
- decide(LoggingEvent) - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Return the decision of this filter.
- decide(LoggingEvent) - Method in class org.apache.log4j.varia.StringMatchFilter
-
Returns
Filter.NEUTRALis there is no string match. - DEFAULT_CONFIGURATION_FILE - Static variable in interface org.apache.log4j.component.helpers.Constants
-
The default property file name for automatic configuration.
- DEFAULT_CONFIGURATION_FILE - Static variable in class org.apache.log4j.LogManager
-
Deprecated.This variable is for internal use only. It will become package protected in future versions.
- DEFAULT_CONFIGURATION_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
-
log4j.configuration string literal.
- DEFAULT_CONFIGURATION_KEY - Static variable in class org.apache.log4j.LogManager
-
Deprecated.This variable is for internal use only. It will become private in future versions.
- DEFAULT_CONVERSION_PATTERN - Static variable in class org.apache.log4j.PatternLayout
-
Default pattern string for log output.
- DEFAULT_DELAY - Static variable in class org.apache.log4j.helpers.FileWatchdog
-
The default delay between every file modification check, set to 60 seconds.
- DEFAULT_DELAY - Static variable in class org.apache.log4j.xml.XmlConfiguration
- DEFAULT_INIT_OVERRIDE_KEY - Static variable in class org.apache.log4j.LogManager
-
Deprecated.This variable is for internal use only. It will become private in future versions.
- DEFAULT_LEVEL - Static variable in class org.apache.log4j.config.Log4j1Configuration
-
The effective level used, when the configuration uses a non-existent custom level.
- DEFAULT_PREFIX - Static variable in class org.apache.log4j.config.PropertiesConfigurationFactory
-
File name prefix for standard configurations.
- DEFAULT_PREFIX - Static variable in class org.apache.log4j.xml.XmlConfiguration
-
File name prefix for standard configurations.
- DEFAULT_PREFIX - Static variable in class org.apache.log4j.xml.XmlConfigurationFactory
-
File name prefix for standard configurations.
- DEFAULT_REPOSITORY_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
-
The name of the default repository is "default" (without the quotes).
- DEFAULT_XML_CONFIGURATION_FILE - Static variable in interface org.apache.log4j.component.helpers.Constants
-
The default XML configuration file name for automatic configuration.
- DefaultRepositorySelector - Class in org.apache.log4j.spi
- DefaultRepositorySelector(LoggerRepository) - Constructor for class org.apache.log4j.spi.DefaultRepositorySelector
- DefaultThrowableRenderer - Class in org.apache.log4j
-
Default implementation of
ThrowableRendererusingThrowable.printStackTrace(PrintWriter). - DefaultThrowableRenderer() - Constructor for class org.apache.log4j.DefaultThrowableRenderer
-
Construct new instance.
- delay - Variable in class org.apache.log4j.helpers.FileWatchdog
-
The delay to observe between every check.
- DENY - Static variable in class org.apache.log4j.spi.Filter
-
The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.
- DenyAllFilter - Class in org.apache.log4j.varia
-
Denies all logging events.
- DenyAllFilter() - Constructor for class org.apache.log4j.varia.DenyAllFilter
- DenyAllFilterBuilder - Class in org.apache.log4j.builders.filter
-
Build a Pattern Layout
- DenyAllFilterBuilder() - Constructor for class org.apache.log4j.builders.filter.DenyAllFilterBuilder
- doAppend(LoggingEvent) - Method in interface org.apache.log4j.Appender
-
Log in
Appenderspecific way. - doAppend(LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton
- doAppend(LoggingEvent) - Method in class org.apache.log4j.bridge.AppenderWrapper
- doAppend(LoggingEvent) - Method in class org.apache.log4j.varia.NullAppender
-
Does not do anything.
- doConfigure() - Method in class org.apache.log4j.config.PropertiesConfiguration
- doConfigure() - Method in class org.apache.log4j.xml.XmlConfiguration
-
Configures log4j by reading in a log4j.dtd compliant XML configuration file.
- doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Reads configuration options from an InputStream.
- doConfigure(InputStream, LoggerRepository) - Method in interface org.apache.log4j.spi.Configurator
-
Interpret a resource pointed by a InputStream and set up log4j accordingly.
- doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.varia.ReloadingPropertyConfigurator
- doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
- doConfigure(Reader, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
- doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Reads configuration options from configuration file.
- doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
- doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Read configuration options from url
configURL. - doConfigure(URL, LoggerRepository) - Method in interface org.apache.log4j.spi.Configurator
-
Interpret a resource pointed by a URL and set up log4j accordingly.
- doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.varia.ReloadingPropertyConfigurator
- doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
- doConfigure(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Reads configuration options from
properties. - doConfigure(Element, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
- 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
- doOnChange() - Method in class org.apache.log4j.helpers.FileWatchdog
- doRender(Object) - Method in class org.apache.log4j.or.jms.MessageRenderer
-
Render a
Message. - doRender(Object) - Method in interface org.apache.log4j.or.ObjectRenderer
-
Render the object passed as parameter as a String.
- doRender(Object) - Method in class org.apache.log4j.or.ThreadGroupRenderer
- doRender(Throwable) - Method in class org.apache.log4j.DefaultThrowableRenderer
-
Render Throwable.
- doRender(Throwable) - Method in interface org.apache.log4j.spi.ThrowableRenderer
-
Render Throwable.
E
- emitNoAppenderWarning(Category) - Method in class org.apache.log4j.Hierarchy
- emitNoAppenderWarning(Category) - Method in interface org.apache.log4j.spi.LoggerRepository
- emitNoAppenderWarning(Category) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- encode(LogEvent, ByteBufferDestination) - Method in class org.apache.log4j.bridge.LayoutAdapter
- encode(LogEvent, ByteBufferDestination) - Method in class org.apache.log4j.layout.Log4j1XmlLayout
- encoding - Variable in class org.apache.log4j.WriterAppender
-
The encoding to use when writing.
- EnhancedRollingFileAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build a File Appender
- EnhancedRollingFileAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.EnhancedRollingFileAppenderBuilder
- EnhancedRollingFileAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.EnhancedRollingFileAppenderBuilder
- equals(Object) - Method in class org.apache.log4j.Priority
-
Two priorities are equal if their level fields are equal.
- 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
- error(String) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
- error(String) - Method in class org.apache.log4j.bridge.ErrorHandlerAdapter
- error(String) - Static method in class org.apache.log4j.helpers.LogLog
-
Logs Log4j internal error statements.
- error(String) - Method in interface org.apache.log4j.spi.ErrorHandler
-
This method is normally used to just print the error message passed as a parameter.
- error(String) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
Print a the error message passed as parameter on
System.err. - error(String, Exception, int) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
- error(String, Exception, int) - Method in interface org.apache.log4j.spi.ErrorHandler
-
Equivalent to the
ErrorHandler.error(String, Exception, int, LoggingEvent)with the event parameter set tonull. - error(String, Exception, int) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
Prints the message and the stack trace of the exception on
System.err. - error(String, Exception, int, LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
- error(String, Exception, int, LoggingEvent) - Method in interface org.apache.log4j.spi.ErrorHandler
-
This method is invoked to handle the error.
- error(String, Exception, int, LoggingEvent) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
Prints the message and the stack trace of the exception on
System.err. - error(String, Throwable) - Method in class org.apache.log4j.bridge.ErrorHandlerAdapter
- error(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
-
Logs Log4j internal error statements.
- error(String, LogEvent, Throwable) - Method in class org.apache.log4j.bridge.ErrorHandlerAdapter
- ERROR - Static variable in class org.apache.log4j.Level
-
The
ERRORlevel designates error events that might still allow the application to continue running. - ERROR - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.ERRORinstead. - ERROR_INT - Static variable in class org.apache.log4j.Priority
-
The
ERRORlevel designates error events that might still allow the application to continue running. - ErrorCode - Interface in org.apache.log4j.spi
-
This interface defines commonly encoutered error codes.
- errorHandler - Variable in class org.apache.log4j.AppenderSkeleton
- errorHandler - Variable in class org.apache.log4j.helpers.QuietWriter
- ErrorHandler - Interface in org.apache.log4j.spi
-
Appenders may delegate their error handling to
ErrorHandlers. - ErrorHandlerAdapter - Class in org.apache.log4j.bridge
-
Makes a Log4j 1 ErrorHandler usable by a Log4j 2 Appender.
- ErrorHandlerAdapter(ErrorHandler) - Constructor for class org.apache.log4j.bridge.ErrorHandlerAdapter
- exists(String) - Static method in class org.apache.log4j.Category
-
Deprecated.Please use
LogManager.exists(String)instead. - exists(String) - Method in class org.apache.log4j.Hierarchy
-
Tests if the named logger exists in the hierarchy.
- exists(String) - Static method in class org.apache.log4j.LogManager
-
Tests if a logger for the given name exists.
- exists(String) - Method in interface org.apache.log4j.spi.LoggerRepository
- exists(String) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- extractOption() - Method in class org.apache.log4j.helpers.PatternParser
- extractPrecisionOption() - Method in class org.apache.log4j.helpers.PatternParser
-
The option is expected to be in decimal and positive.
F
- FallbackErrorHandler - Class in org.apache.log4j.varia
-
An ErrorHandler with a secondary appender.
- FallbackErrorHandler() - Constructor for class org.apache.log4j.varia.FallbackErrorHandler
- 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
- FATAL - Static variable in class org.apache.log4j.Level
-
The
FATALlevel designates very severe error events that will presumably lead the application to abort. - FATAL - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.FATALinstead. - FATAL_INT - Static variable in class org.apache.log4j.Priority
-
The
FATALlevel designates very severe error events that will presumably lead the application to abort. - FILE_EXTENSION - Static variable in class org.apache.log4j.xml.XmlConfigurationFactory
- FILE_OPEN_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
- FILE_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
- fileAppend - Variable in class org.apache.log4j.FileAppender
-
Controls file truncatation.
- FileAppender - Class in org.apache.log4j
-
FileAppender appends log events to a file.
- FileAppender() - Constructor for class org.apache.log4j.FileAppender
-
The default constructor does not do anything.
- FileAppender(Layout, String) - Constructor for class org.apache.log4j.FileAppender
-
Constructs a FileAppender and open the file designated by
filename. - FileAppender(Layout, String, boolean) - Constructor for class org.apache.log4j.FileAppender
-
Constructs a FileAppender and open the file designated by
filename. - FileAppender(Layout, String, boolean, boolean, int) - Constructor for class org.apache.log4j.FileAppender
-
Constructs a
FileAppenderand open the file designated byfilename. - FileAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build a File Appender
- FileAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.FileAppenderBuilder
- FileAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.FileAppenderBuilder
- filename - Variable in class org.apache.log4j.helpers.FileWatchdog
-
The name of the file to observe for changes.
- fileName - Variable in class org.apache.log4j.FileAppender
-
The name of the log file.
- FileWatchdog - Class in org.apache.log4j.helpers
-
Checks every now and then that a certain file has not changed.
- FileWatchdog(String) - Constructor for class org.apache.log4j.helpers.FileWatchdog
- filter(LogEvent) - Method in class org.apache.log4j.bridge.FilterAdapter
- Filter - Class in org.apache.log4j.spi
- Filter() - Constructor for class org.apache.log4j.spi.Filter
- FILTER_TAG - Static variable in class org.apache.log4j.xml.XmlConfiguration
- FilterAdapter - Class in org.apache.log4j.bridge
-
Binds a Log4j 1.x Filter with Log4j 2.
- FilterBuilder - Interface in org.apache.log4j.builders.filter
-
Define a Filter Builder.
- FilterWrapper - Class in org.apache.log4j.bridge
-
This acts as a container for Log4j 2 Filters to be attached to Log4j 1 components.
- FilterWrapper(Filter) - Constructor for class org.apache.log4j.bridge.FilterWrapper
- finalize() - Method in class org.apache.log4j.AppenderSkeleton
- finalizeConverter(char) - Method in class org.apache.log4j.helpers.PatternParser
- findAndRender(Object) - Method in class org.apache.log4j.or.RendererMap
-
Find the appropriate renderer for the class type of the
oparameter. - findAndSubst(String, Properties) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Find the value corresponding to
keyinprops. - findAppenderByReference(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
-
Used internally to parse appenders by IDREF element.
- FINE - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
FINE.
- FINE_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for FINE.
- FINER - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
FINER.
- FINER_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for FINER.
- FINEST - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
FINEST.
- FINEST_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for FINEST.
- fireAddAppenderEvent(Category, Appender) - Method in class org.apache.log4j.Hierarchy
- fireAddAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
- fireAddAppenderEvent(Category, Appender) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- flush() - Method in class org.apache.log4j.helpers.QuietWriter
- FLUSH_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
- forcedLog(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
- forEachElement(NodeList, Consumer<Element>) - Static method in class org.apache.log4j.xml.XmlConfiguration
- format(int, StringBuffer) - Method in class org.apache.log4j.pattern.FormattingInfo
-
Adjust the content of the buffer based on the specified lengths and alignment.
- format(StringBuffer, LoggingEvent) - Method in class org.apache.log4j.helpers.PatternConverter
-
A template method for formatting in a converter specific way.
- format(Date, StringBuffer, FieldPosition) - Method in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
-
Appends to
sbufthe time in the format "HH:mm:ss,SSS" for example, "15:49:37,459" - format(Date, StringBuffer, FieldPosition) - Method in class org.apache.log4j.helpers.DateTimeDateFormat
-
Appends to
sbufthe date in the format "dd MMM yyyy HH:mm:ss,SSS" for example, "06 Nov 1994 08:49:37,459". - format(Date, StringBuffer, FieldPosition) - Method in class org.apache.log4j.helpers.ISO8601DateFormat
-
Appends a date in the format "YYYY-mm-dd HH:mm:ss,SSS" to
sbuf. - format(Date, StringBuffer, FieldPosition) - Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
-
Appends to
sbufthe number of milliseconds elapsed since the start of the application. - format(LoggingEvent) - Method in class org.apache.log4j.bridge.LayoutWrapper
- format(LoggingEvent) - Method in class org.apache.log4j.Layout
-
Implement this method to create your own layout format.
- format(LoggingEvent) - Method in class org.apache.log4j.PatternLayout
-
Produces a formatted string as specified by the conversion pattern.
- format(LoggingEvent) - Method in class org.apache.log4j.SimpleLayout
-
Implement this method to create your own layout format.
- format(LogEvent, StringBuilder) - Method in class org.apache.log4j.pattern.Log4j1LevelPatternConverter
- format(LogEvent, StringBuilder) - Method in class org.apache.log4j.pattern.Log4j1MdcPatternConverter
- format(LogEvent, StringBuilder) - Method in class org.apache.log4j.pattern.Log4j1NdcPatternConverter
- formattingInfo - Variable in class org.apache.log4j.helpers.PatternParser
- FormattingInfo - Class in org.apache.log4j.helpers
-
FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.
- FormattingInfo - Class in org.apache.log4j.pattern
-
Modifies the output of a pattern converter for a specified minimum and maximum width and alignment.
- FormattingInfo() - Constructor for class org.apache.log4j.helpers.FormattingInfo
- FormattingInfo(boolean, int, int) - Constructor for class org.apache.log4j.pattern.FormattingInfo
-
Creates new instance.
- fullInfo - Variable in class org.apache.log4j.spi.LocationInfo
G
- GENERIC_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
- get() - Method in class org.apache.log4j.builders.Holder
-
Deprecated.
- get() - Method in class org.apache.log4j.helpers.BoundedFIFO
-
Gets the first element in the buffer.
- get() - Method in class org.apache.log4j.helpers.CyclicBuffer
-
Gets the oldest (first) element in the buffer.
- get() - Static method in class org.apache.log4j.NDC
-
Never use this method directly.
- get(int) - Method in class org.apache.log4j.helpers.CyclicBuffer
-
Gets the ith oldest event currently in the buffer.
- get(Class) - Method in class org.apache.log4j.or.RendererMap
-
Search the parents of
clazzfor a renderer. - get(Object) - Method in class org.apache.log4j.or.RendererMap
-
Syntactic sugar method that calls
RendererMap.get(Class)with the class of the object parameter. - get(String) - Static method in class org.apache.log4j.MDC
- getAbbreviator(String) - Static method in class org.apache.log4j.pattern.NameAbbreviator
-
Gets an abbreviator.
- getAcceptOnMatch() - Method in class org.apache.log4j.varia.LevelMatchFilter
- getAcceptOnMatch() - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Get the value of the
AcceptOnMatchoption. - getAcceptOnMatch() - Method in class org.apache.log4j.varia.StringMatchFilter
- getAdapter() - Method in class org.apache.log4j.bridge.AppenderAdapter
- getAdditivity() - Method in class org.apache.log4j.Category
- getAllAppenders() - Method in class org.apache.log4j.Category
-
Get all the Log4j 1.x appenders contained in this category as an
Enumeration. - getAllAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
- getAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Get all previously added appenders as an Enumeration.
- getAllAppenders() - Method in class org.apache.log4j.spi.NOPLogger
-
Get all the Log4j 1.x appenders contained in this category as an
Enumeration. - getAllPossibleLevels() - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
-
Gets list of supported levels.
- getAllPossiblePriorities() - Static method in class org.apache.log4j.Priority
-
Deprecated.This method will be removed with no replacement.
- getAppend() - Method in class org.apache.log4j.FileAppender
-
Returns the value of the Append option.
- getAppender() - Method in class org.apache.log4j.bridge.AppenderAdapter.Adapter
- getAppender() - Method in class org.apache.log4j.bridge.AppenderWrapper
-
Gets the wrapped Core Appender.
- getAppender(String) - Method in class org.apache.log4j.Category
-
Look for the appender named as
name. - getAppender(String) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
- getAppender(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Get an appender by name.
- getAppender(String) - Method in class org.apache.log4j.spi.NOPLogger
-
Look for the appender named as
name. - getAppenderName(Appender) - Static method in class org.apache.log4j.jmx.AbstractDynamicMBean
-
Get MBean name.
- getAppenders(Logger) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
-
Gets the appenders attached directly to this logger.
- getAttribute(String) - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
- getAttribute(String) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- getAttribute(String) - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
- getAttribute(String) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
- getAttributes(String[]) - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
-
Enables the to get the values of several attributes of the Dynamic MBean.
- getBooleanProperty(String) - Method in class org.apache.log4j.builders.AbstractBuilder
- getBooleanProperty(String, boolean) - Method in class org.apache.log4j.builders.AbstractBuilder
- getBooleanValueAttribute(Element) - Method in class org.apache.log4j.builders.AbstractBuilder
- getBufferedIO() - Method in class org.apache.log4j.FileAppender
-
Get the value of the BufferedIO option.
- getBufferSize() - Method in class org.apache.log4j.FileAppender
-
Get the size of the IO buffer.
- getBuilderManager() - Method in class org.apache.log4j.config.Log4j1Configuration
- getChainedLevel() - Method in class org.apache.log4j.spi.RootLogger
-
Gets the assigned level value without walking the logger hierarchy.
- getChainedPriority() - Method in class org.apache.log4j.Category
- getChainedPriority() - Method in class org.apache.log4j.spi.NOPLogger
- getClassName() - Method in class org.apache.log4j.spi.LocationInfo
-
Gets the fully qualified class name of the caller making the logging request.
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.log4j.config.Log4j1ConfigurationFactory
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.log4j.xml.XmlConfigurationFactory
- getContentFormat() - Method in class org.apache.log4j.bridge.LayoutAdapter
- getContentFormat() - Method in class org.apache.log4j.layout.Log4j1SyslogLayout
-
Gets this SyslogLayout's content format.
- getContentType() - Method in class org.apache.log4j.bridge.LayoutAdapter
- getContentType() - Method in class org.apache.log4j.Layout
-
Returns the content type output by this layout.
- getContext() - Static method in class org.apache.log4j.MDC
- getContextData() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getContextMap() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getContextStack() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getConversionPattern() - Method in class org.apache.log4j.PatternLayout
-
Returns the value of the ConversionPattern option.
- getCount() - Method in class org.apache.log4j.helpers.CountingQuietWriter
- getCurrentCategories() - Static method in class org.apache.log4j.Category
-
Deprecated.Please use
LogManager.getCurrentLoggers()instead. - getCurrentCategories() - Method in class org.apache.log4j.Hierarchy
-
Deprecated.Please use
Hierarchy.getCurrentLoggers()instead. - getCurrentCategories() - Method in interface org.apache.log4j.spi.LoggerRepository
-
Deprecated.
- getCurrentCategories() - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Deprecated.
- getCurrentLoggers() - Method in class org.apache.log4j.Hierarchy
-
Gets all the currently defined categories in this hierarchy as an
Enumeration. - getCurrentLoggers() - Static method in class org.apache.log4j.LogManager
-
Gets an enumeration of the current loggers.
- getCurrentLoggers() - Method in interface org.apache.log4j.spi.LoggerRepository
- getCurrentLoggers() - Method in class org.apache.log4j.spi.NOPLoggerRepository
- getDateFormat() - Method in class org.apache.log4j.helpers.DateLayout
-
Returns value of the DateFormat option.
- getDefault() - Static method in class org.apache.log4j.pattern.FormattingInfo
-
Gets default instance.
- getDefaultAbbreviator() - Static method in class org.apache.log4j.pattern.NameAbbreviator
-
Gets default abbreviator.
- getDefaultHierarchy() - Static method in class org.apache.log4j.Category
-
Deprecated.Please use
LogManager.getLoggerRepository()instead. - getDefaultPrefix() - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
- getDefaultPrefix() - Method in class org.apache.log4j.xml.XmlConfigurationFactory
- getDefaultRenderer() - Method in class org.apache.log4j.or.RendererMap
- getDepth() - Static method in class org.apache.log4j.NDC
-
Get the current nesting depth of this diagnostic context.
- getEffectiveLevel() - Method in class org.apache.log4j.Category
- getEffectiveLevel() - Method in class org.apache.log4j.spi.NOPLogger
- getEncoding() - Method in class org.apache.log4j.WriterAppender
- getErrorHandler() - Method in interface org.apache.log4j.Appender
-
Returns the
ErrorHandlerfor this appender. - getErrorHandler() - Method in class org.apache.log4j.AppenderSkeleton
- getErrorHandler() - Method in class org.apache.log4j.bridge.AppenderWrapper
- getEvent() - Method in class org.apache.log4j.bridge.LogEventAdapter
- getFacility() - Method in class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- getFile() - Method in class org.apache.log4j.FileAppender
-
Returns the value of the File option.
- getFileName() - Method in class org.apache.log4j.spi.LocationInfo
-
Gets the file name of the caller.
- getFilter() - Method in interface org.apache.log4j.Appender
-
Returns the head Filter.
- getFilter() - Method in class org.apache.log4j.AppenderSkeleton
- getFilter() - Method in class org.apache.log4j.bridge.AppenderWrapper
- getFilter() - Method in class org.apache.log4j.bridge.FilterAdapter
-
Gets the actual filter.
- getFilter() - Method in class org.apache.log4j.bridge.FilterWrapper
- getFilters(Logger) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
-
Delegates to
Logger.getFilters()if appropriate. - getFirstFilter() - Method in class org.apache.log4j.AppenderSkeleton
- getFollow() - Method in class org.apache.log4j.ConsoleAppender
-
Gets whether the appender honors reassignments of System.out or System.err made after configuration.
- getFooter() - Method in class org.apache.log4j.bridge.LayoutAdapter
- getFooter() - Method in class org.apache.log4j.Layout
-
Returns the footer for the layout format.
- getFormat() - Method in class org.apache.log4j.RenderedMessage
- getFormattedMessage() - Method in class org.apache.log4j.RenderedMessage
- getFQNOfLoggerClass() - Method in class org.apache.log4j.spi.LoggingEvent
- getHandler() - Method in class org.apache.log4j.bridge.ErrorHandlerAdapter
- getHeader() - Method in class org.apache.log4j.bridge.LayoutAdapter
- getHeader() - Method in class org.apache.log4j.Layout
-
Returns the header for the layout format.
- getHierarchy() - Method in class org.apache.log4j.Category
-
Deprecated.Please use
Category.getLoggerRepository()instead. - getImmediateFlush() - Method in class org.apache.log4j.WriterAppender
-
Returns value of the ImmediateFlush option.
- getInstance() - Static method in class org.apache.log4j.helpers.NullEnumeration
- getInstance() - Method in class org.apache.log4j.varia.NullAppender
-
Deprecated.Use getNullAppender instead. getInstance should have been static.
- getInstance(Class) - Static method in class org.apache.log4j.Category
- getInstance(String) - Static method in class org.apache.log4j.Category
- getInstant() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getIntegerProperty(String, int) - Method in class org.apache.log4j.builders.AbstractBuilder
- getLayout() - Method in interface org.apache.log4j.Appender
-
Returns this appenders layout.
- getLayout() - Method in class org.apache.log4j.AppenderSkeleton
- getLayout() - Method in class org.apache.log4j.bridge.AppenderWrapper
- getLayout() - Method in class org.apache.log4j.bridge.LayoutAdapter
- getLayout() - Method in class org.apache.log4j.bridge.LayoutWrapper
-
Unwraps.
- getLevel() - Method in class org.apache.log4j.bridge.LogEventAdapter
-
Return the level of this event.
- getLevel() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getLevel() - Method in class org.apache.log4j.Category
- getLevel() - Method in class org.apache.log4j.spi.LoggingEvent
-
Return the level of this event.
- getLevelMax() - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Get the value of the
LevelMaxoption. - getLevelMin() - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Get the value of the
LevelMinoption. - getLevelToMatch() - Method in class org.apache.log4j.varia.LevelMatchFilter
- getLineNumber() - Method in class org.apache.log4j.spi.LocationInfo
-
Gets the line number of the caller.
- getLocationInformation() - Method in class org.apache.log4j.bridge.LogEventAdapter
-
Set the location information for this logging event.
- getLocationInformation() - Method in class org.apache.log4j.spi.LoggingEvent
-
Set the location information for this logging event.
- getLogger() - Method in class org.apache.log4j.bridge.LogEventAdapter
-
Gets the logger of the event.
- getLogger() - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
- getLogger() - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
- getLogger() - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- getLogger() - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
- getLogger() - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
- getLogger() - Method in class org.apache.log4j.spi.LoggingEvent
-
Gets the logger of the event.
- getLogger(Class<?>) - Static method in class org.apache.log4j.Logger
- getLogger(Class<?>) - Static method in class org.apache.log4j.LogManager
-
Gets the logger for the given class.
- getLogger(String) - Method in class org.apache.log4j.Hierarchy
-
Gets a new logger instance named as the first parameter using the default factory.
- getLogger(String) - Static method in class org.apache.log4j.Logger
- getLogger(String) - Static method in class org.apache.log4j.LogManager
-
Gets the logger for the given name.
- getLogger(String) - Method in interface org.apache.log4j.spi.LoggerRepository
- getLogger(String) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- getLogger(String, LoggerFactory) - Method in class org.apache.log4j.Hierarchy
-
Gets a new logger instance named as the first parameter using
factory. - getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.Logger
- getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.LogManager
- getLogger(String, LoggerFactory) - Method in interface org.apache.log4j.spi.LoggerRepository
- getLogger(String, LoggerFactory) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- getLoggerContext(Logger) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
-
Delegates to
Logger.getContext()if appropriate. - getLoggerFqcn() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getLoggerName() - Method in class org.apache.log4j.bridge.LogEventAdapter
-
Return the name of the logger.
- getLoggerName() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getLoggerName() - Method in class org.apache.log4j.spi.LoggingEvent
-
Return the name of the logger.
- getLoggerRepository() - Method in class org.apache.log4j.Category
-
Gets the
LoggerRepositorywhere thisCategoryis attached. - getLoggerRepository() - Static method in class org.apache.log4j.LogManager
- getLoggerRepository() - Method in class org.apache.log4j.spi.DefaultRepositorySelector
- getLoggerRepository() - Method in interface org.apache.log4j.spi.RepositorySelector
-
Gets a
LoggerRepositorydepending on the context. - getLongProperty(String, long) - Method in class org.apache.log4j.builders.AbstractBuilder
- getMarker() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getMaxBackupIndex() - Method in class org.apache.log4j.RollingFileAppender
-
Gets the value of the MaxBackupIndex option.
- getMaximumFileSize() - Method in class org.apache.log4j.RollingFileAppender
-
Gets the maximum size that the output file is allowed to reach before being rolled over to backup files.
- getMaxLength() - Method in class org.apache.log4j.pattern.FormattingInfo
-
Get maximum length.
- getMaxSize() - Method in class org.apache.log4j.helpers.BoundedFIFO
-
Gets the maximum size of the buffer.
- getMaxSize() - Method in class org.apache.log4j.helpers.CyclicBuffer
- getMBeanInfo() - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
- getMBeanInfo() - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- getMBeanInfo() - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
- getMBeanInfo() - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
- getMDC(String) - Method in class org.apache.log4j.bridge.LogEventAdapter
- getMDC(String) - Method in class org.apache.log4j.spi.LoggingEvent
- getMDCCopy() - Method in class org.apache.log4j.bridge.LogEventAdapter
-
Obtain a copy of this thread's MDC prior to serialization or asynchronous logging.
- getMDCCopy() - Method in class org.apache.log4j.spi.LoggingEvent
-
Obtain a copy of this thread's MDC prior to serialization or asynchronous logging.
- getMessage() - Method in class org.apache.log4j.bridge.LogEventAdapter
- getMessage() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getMessage() - Method in exception class org.apache.log4j.config.PropertySetterException
-
Returns descriptive text on the cause of this exception.
- getMessage() - Method in class org.apache.log4j.spi.LoggingEvent
-
Return the message for this logging event.
- getMessageLayout() - Method in class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- getMethodName() - Method in class org.apache.log4j.spi.LocationInfo
-
Gets the method name of the caller.
- getMinLength() - Method in class org.apache.log4j.pattern.FormattingInfo
-
Get minimum length.
- getName() - Method in interface org.apache.log4j.Appender
-
Get the name of this appender.
- getName() - Method in class org.apache.log4j.AppenderSkeleton
- getName() - Method in class org.apache.log4j.bridge.AppenderWrapper
- getName() - Method in class org.apache.log4j.Category
- getNameAttribute(Element) - Method in class org.apache.log4j.builders.AbstractBuilder
- getNameAttributeKey(Element) - Method in class org.apache.log4j.builders.AbstractBuilder
- getNanoTime() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getNDC() - Method in class org.apache.log4j.bridge.LogEventAdapter
- getNDC() - Method in class org.apache.log4j.spi.LoggingEvent
- getNext() - Method in class org.apache.log4j.spi.Filter
-
Return the pointer to the next filter.
- getNotificationInfo() - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- getNullAppender() - Static method in class org.apache.log4j.varia.NullAppender
-
Whenever you can, use this method to retreive an instance instead of instantiating a new one with
new. - getOptionStrings() - Method in class org.apache.log4j.helpers.DateLayout
-
Deprecated.Use the setter method for the option directly instead of the generic
setOptionmethod. - getOptionStrings() - Method in class org.apache.log4j.varia.DenyAllFilter
-
Deprecated.We now use JavaBeans introspection to configure components. Options strings are no longer needed.
- getOptionStrings() - Method in class org.apache.log4j.varia.StringMatchFilter
-
Deprecated.We now use JavaBeans introspection to configure components. Options strings are no longer needed.
- getParameters() - Method in class org.apache.log4j.RenderedMessage
- getParent() - Method in class org.apache.log4j.Category
- getParent(Logger) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
-
Delegates to
Logger.getParent()if appropriate. - getPathIn() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- getPathOut() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- getPolicy() - Method in class org.apache.log4j.bridge.RewritePolicyAdapter
- getPolicy() - Method in class org.apache.log4j.bridge.RewritePolicyWrapper
- getPriority() - Method in class org.apache.log4j.Category
- getProperties() - Method in class org.apache.log4j.bridge.LogEventAdapter
- getProperties() - Method in class org.apache.log4j.builders.AbstractBuilder
- getProperties() - Method in class org.apache.log4j.spi.LoggingEvent
- getProperty(String) - Method in class org.apache.log4j.bridge.LogEventAdapter
- getProperty(String) - Method in class org.apache.log4j.builders.AbstractBuilder
- getProperty(String) - Method in class org.apache.log4j.spi.LoggingEvent
- getProperty(String, String) - Method in class org.apache.log4j.builders.AbstractBuilder
- getPropertyDescriptor(String) - Method in class org.apache.log4j.config.PropertySetter
- getPropertyKeySet() - Method in class org.apache.log4j.bridge.LogEventAdapter
- getPropertyKeySet() - Method in class org.apache.log4j.spi.LoggingEvent
- getRecurseIntoPath() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- getRenderedMessage() - Method in class org.apache.log4j.bridge.LogEventAdapter
- getRenderedMessage() - Method in class org.apache.log4j.spi.LoggingEvent
- getRendererMap() - Method in class org.apache.log4j.Hierarchy
-
Gets the renderer map for this hierarchy.
- getRendererMap() - Method in interface org.apache.log4j.spi.RendererSupport
- getResource(String) - Static method in class org.apache.log4j.helpers.Loader
-
This method will search for
resourcein 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
- getRoot() - Static method in class org.apache.log4j.Category
- getRootLogger() - Method in class org.apache.log4j.Hierarchy
-
Gets the root of this hierarchy.
- getRootLogger() - Static method in class org.apache.log4j.Logger
- getRootLogger() - Static method in class org.apache.log4j.LogManager
-
Gets the root logger.
- getRootLogger() - Method in interface org.apache.log4j.spi.LoggerRepository
- getRootLogger() - Method in class org.apache.log4j.spi.NOPLoggerRepository
- getSource() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getStartTime() - Static method in class org.apache.log4j.bridge.LogEventAdapter
-
Returns the time when the application started, in milliseconds elapsed since 01.01.1970.
- getStartTime() - Static method in class org.apache.log4j.spi.LoggingEvent
-
Returns the time when the application started, in milliseconds elapsed since 01.01.1970.
- getStringToMatch() - Method in class org.apache.log4j.varia.StringMatchFilter
- getSupportedTypes() - Method in class org.apache.log4j.config.Log4j1ConfigurationFactory
- getSupportedTypes() - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
- getSupportedTypes() - Method in class org.apache.log4j.xml.XmlConfigurationFactory
- getSyslogEquivalent() - Method in class org.apache.log4j.Priority
-
Returns the syslog equivalent of this priority as an integer.
- getSystemProperty(String, String) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Very similar to
System.getPropertyexcept that theSecurityExceptionis hidden. - getTarget() - Method in class org.apache.log4j.ConsoleAppender
-
Gets the current value of the Target property.
- getTestPrefix() - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
- getTestPrefix() - Method in class org.apache.log4j.xml.XmlConfigurationFactory
- getThreadId() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getThreadName() - Method in class org.apache.log4j.bridge.LogEventAdapter
- getThreadName() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getThreadName() - Method in class org.apache.log4j.spi.LoggingEvent
- getThreadPriority() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getThreshold() - Method in class org.apache.log4j.AppenderSkeleton
- getThreshold() - Method in class org.apache.log4j.Hierarchy
-
Gets a
Levelrepresentation of theenablestate. - getThreshold() - Method in interface org.apache.log4j.spi.LoggerRepository
-
Get the repository-wide threshold.
- getThreshold() - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Get the repository-wide threshold.
- getThrowable() - Method in class org.apache.log4j.RenderedMessage
- getThrowable() - Method in class org.apache.log4j.spi.ThrowableInformation
- getThrowableInformation() - Method in class org.apache.log4j.bridge.LogEventAdapter
-
Returns the throwable information contained within this event.
- getThrowableInformation() - Method in class org.apache.log4j.spi.LoggingEvent
-
Returns the throwable information contained within this event.
- getThrowableRenderer() - Method in class org.apache.log4j.Hierarchy
-
Get throwable renderer.
- getThrowableRenderer() - Method in interface org.apache.log4j.spi.ThrowableRendererSupport
-
Get throwable renderer.
- getThrowableStrRep() - Method in class org.apache.log4j.bridge.LogEventAdapter
-
Return this event's throwable's string[] representaion.
- getThrowableStrRep() - Method in class org.apache.log4j.spi.LoggingEvent
-
Return this event's throwable's string[] representaion.
- getThrowableStrRep() - Method in class org.apache.log4j.spi.ThrowableInformation
- getThrown() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getThrownProxy() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getTimeMillis() - Method in class org.apache.log4j.bridge.LogEventWrapper
- getTimeStamp() - Method in class org.apache.log4j.bridge.LogEventAdapter
- getTimeStamp() - Method in class org.apache.log4j.spi.LoggingEvent
- getTimeZone() - Method in class org.apache.log4j.helpers.DateLayout
-
Returns value of the TimeZone option.
- getValueAttribute(Element) - Method in class org.apache.log4j.builders.AbstractBuilder
- getValueAttribute(Element, String) - Method in class org.apache.log4j.builders.AbstractBuilder
- getVector() - Method in class org.apache.log4j.VectorAppender
- getVersion() - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
- getVersion() - Method in class org.apache.log4j.xml.XmlConfigurationFactory
- getVersion2Level() - Method in class org.apache.log4j.Priority
-
Gets the Log4j 2.x level associated with this priority
H
- handleNotification(Notification, Object) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
- hashCode() - Method in class org.apache.log4j.Priority
- hasMoreElements() - Method in class org.apache.log4j.helpers.NullEnumeration
- headFilter - Variable in class org.apache.log4j.AppenderSkeleton
- Hierarchy - Class in org.apache.log4j
-
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
- Hierarchy(Logger) - Constructor for class org.apache.log4j.Hierarchy
-
Creates a new logger hierarchy.
- HierarchyDynamicMBean - Class in org.apache.log4j.jmx
- HierarchyDynamicMBean() - Constructor for class org.apache.log4j.jmx.HierarchyDynamicMBean
- HierarchyEventListener - Interface in org.apache.log4j.spi
-
Listen to events occurring within a Hierarchy.
- Holder<V> - Class in org.apache.log4j.builders
-
Deprecated.Use
AtomicReference. - Holder() - Constructor for class org.apache.log4j.builders.Holder
-
Deprecated.
- Holder(V) - Constructor for class org.apache.log4j.builders.Holder
-
Deprecated.
- HOSTNAME_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
-
hostname string literal.
- HtmlLayoutBuilder - Class in org.apache.log4j.builders.layout
-
Build a Pattern Layout
- HtmlLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.HtmlLayoutBuilder
- HtmlLayoutBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.layout.HtmlLayoutBuilder
I
- i - Variable in class org.apache.log4j.helpers.PatternParser
- ignoresThrowable() - Method in class org.apache.log4j.bridge.LayoutWrapper
- ignoresThrowable() - Method in class org.apache.log4j.Layout
-
If the layout handles the throwable object contained within
LoggingEvent, then the layout should returnfalse. - ignoresThrowable() - Method in class org.apache.log4j.PatternLayout
-
The PatternLayout does not handle the throwable contained within
LoggingEvents. - ignoresThrowable() - Method in class org.apache.log4j.SimpleLayout
-
If the layout handles the throwable object contained within
LoggingEvent, then the layout should returnfalse. - IMMEDIATE_FLUSH_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
- immediateFlush - Variable in class org.apache.log4j.WriterAppender
-
Immediate flush means that the underlying writer or output stream will be flushed at the end of each append operation unless shouldFlush() is overridden.
- 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
- INFO - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
INFO.
- INFO - Static variable in class org.apache.log4j.Level
-
The
INFOlevel designates informational messages that highlight the progress of the application at coarse-grained level. - INFO - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.INFOinstead. - INFO_INT - Static variable in class org.apache.log4j.Priority
-
The
INFOlevel designates informational messages that highlight the progress of the application at coarse-grained level. - inherit(Stack) - Static method in class org.apache.log4j.NDC
-
Inherit the diagnostic context of another thread, a Stack of Strings.
- INHERITED - Static variable in class org.apache.log4j.config.Log4j1Configuration
- INHERITED - Static variable in interface org.apache.log4j.spi.Configurator
-
Special level value signifying inherited behavior.
- initialize() - Method in class org.apache.log4j.config.Log4j1Configuration
-
Initialize the configuration.
- instantiateByClassName(String, Class<?>, Object) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Instantiate an object given a class name.
- instantiateByKey(Properties, String, Class, Object) - Static method in class org.apache.log4j.helpers.OptionConverter
- introspect() - Method in class org.apache.log4j.config.PropertySetter
-
Uses JavaBeans
Introspectorto computer setters of object to be configured. - INVALID_APPENDER - Static variable in class org.apache.log4j.builders.BuilderManager
- INVALID_FILTER - Static variable in class org.apache.log4j.builders.BuilderManager
- INVALID_LAYOUT - Static variable in class org.apache.log4j.builders.BuilderManager
- INVALID_REWRITE_POLICY - Static variable in class org.apache.log4j.builders.BuilderManager
- invoke(String, Object[], String[]) - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
- invoke(String, Object[], String[]) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- invoke(String, Object[], String[]) - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
- invoke(String, Object[], String[]) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
- isAdditive(Logger) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
-
Delegates to
Logger.isAdditive()if appropriate. - isAsSevereAsThreshold(Priority) - Method in class org.apache.log4j.AppenderSkeleton
- isAttached(Appender) - Method in class org.apache.log4j.Category
-
Is the appender passed as parameter attached to this category?
- isAttached(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
- isAttached(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Returns
trueif the specified appender is in list of attached,falseotherwise. - isAttached(Appender) - Method in class org.apache.log4j.spi.NOPLogger
-
Is the appender passed as parameter attached to this category?
- isClosed() - Method in class org.apache.log4j.VectorAppender
- 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
-
This method will return
trueif this repository is disabled forlevelobject passed as parameter andfalseotherwise. - isDisabled(int) - Method in interface org.apache.log4j.spi.LoggerRepository
-
Returns whether this repository is disabled for a given level.
- isDisabled(int) - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Returns whether this repository is disabled for a given level.
- isEnabledFor(Priority) - Method in class org.apache.log4j.Category
- isEnabledFor(Priority) - Method in class org.apache.log4j.spi.NOPLogger
- isEndOfBatch() - Method in class org.apache.log4j.bridge.LogEventWrapper
- isErrorEnabled() - Method in class org.apache.log4j.Category
- isFacilityPrinting() - Method in class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- isFailFast() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- isFatalEnabled() - Method in class org.apache.log4j.Category
- isFull() - Method in class org.apache.log4j.helpers.BoundedFIFO
-
Returns
trueif the buffer is full, that is, whether the number of elements in the buffer equals the buffer size. - isGreaterOrEqual(Priority) - Method in class org.apache.log4j.Priority
-
Returns
trueif this level has a higher or equal level than the level passed as argument,falseotherwise. - isHeader() - Method in class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- isIncludeLocation() - Method in class org.apache.log4j.bridge.LogEventWrapper
- 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
-
Always returns false since Java 1.x support is long gone.
- isLeftAligned() - Method in class org.apache.log4j.pattern.FormattingInfo
-
Determine if left aligned.
- isLocationInfo() - Method in class org.apache.log4j.layout.Log4j1XmlLayout
- ISO8601_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
-
String constant used to specify
ISO8601DateFormatin layouts. - ISO8601_FORMAT - Static variable in interface org.apache.log4j.component.helpers.Constants
-
ISO8601 string literal.
- ISO8601_PATTERN - Static variable in interface org.apache.log4j.component.helpers.Constants
-
SimpleTimePattern for ISO8601.
- ISO8601DateFormat - Class in org.apache.log4j.helpers
-
Formats a
Datein the format "yyyy-MM-dd HH:mm:ss,SSS" for example "1999-11-27 15:49:37,459". - ISO8601DateFormat() - Constructor for class org.apache.log4j.helpers.ISO8601DateFormat
- ISO8601DateFormat(TimeZone) - Constructor for class org.apache.log4j.helpers.ISO8601DateFormat
- isProperties() - Method in class org.apache.log4j.layout.Log4j1XmlLayout
- isTraceEnabled() - Method in class org.apache.log4j.Logger
- isTraceEnabled() - Method in class org.apache.log4j.spi.NOPLogger
- isTriggeringEvent(LoggingEvent) - Method in interface org.apache.log4j.spi.TriggeringEventEvaluator
-
Tests if this the triggering event.
- isVerbose() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- isWarnEnabled() - Method in class org.apache.log4j.Category
J
- JNDI_CONTEXT_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
-
JNDI context name string literal.
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
- layout - Variable in class org.apache.log4j.AppenderSkeleton
- Layout - Class in org.apache.log4j
- Layout() - Constructor for class org.apache.log4j.Layout
- LAYOUT_TAG - Static variable in class org.apache.log4j.xml.XmlConfiguration
- LayoutAdapter - Class in org.apache.log4j.bridge
-
Class Description goes here.
- LayoutBuilder - Interface in org.apache.log4j.builders.layout
-
Define a Layout Builder.
- LayoutDynamicMBean - Class in org.apache.log4j.jmx
- LayoutDynamicMBean(Layout) - Constructor for class org.apache.log4j.jmx.LayoutDynamicMBean
- LayoutWrapper - Class in org.apache.log4j.bridge
-
Bridge between the Log4j 1 Layout and a Log4j 2 Layout.
- LayoutWrapper(Layout<?>) - Constructor for class org.apache.log4j.bridge.LayoutWrapper
-
Constructs a new instance.
- length() - Method in class org.apache.log4j.helpers.BoundedFIFO
-
Gets the number of elements in the buffer.
- length() - Method in class org.apache.log4j.helpers.CyclicBuffer
-
Gets the number of elements in the buffer.
- level - Variable in class org.apache.log4j.Category
-
The assigned level of this category.
- Level - Class in org.apache.log4j
-
Defines the minimum set of levels recognized by the system, that is
OFF,FATAL,ERROR,WARN,INFO,DEBUGandALL. - Level(int, String, int) - Constructor for class org.apache.log4j.Level
-
Instantiate a Level object.
- Level(int, String, int, Level) - Constructor for class org.apache.log4j.Level
- LevelMatchFilter - Class in org.apache.log4j.varia
-
Simple filter based on level matching.
- LevelMatchFilter() - Constructor for class org.apache.log4j.varia.LevelMatchFilter
- LevelMatchFilterBuilder - Class in org.apache.log4j.builders.filter
-
Build a Level match failter.
- LevelMatchFilterBuilder() - Constructor for class org.apache.log4j.builders.filter.LevelMatchFilterBuilder
- LevelMatchFilterBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.filter.LevelMatchFilterBuilder
- LevelRangeFilter - Class in org.apache.log4j.varia
-
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.
- LevelRangeFilter() - Constructor for class org.apache.log4j.varia.LevelRangeFilter
- LevelRangeFilterBuilder - Class in org.apache.log4j.builders.filter
-
Build a Level range filter.
- LevelRangeFilterBuilder() - Constructor for class org.apache.log4j.builders.filter.LevelRangeFilterBuilder
- LevelRangeFilterBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.filter.LevelRangeFilterBuilder
- LINE_SEP - Static variable in class org.apache.log4j.Layout
- LINE_SEP_LEN - Static variable in class org.apache.log4j.Layout
-
Note that the line.separator property can be looked up even by applets.
- loadClass(String) - Static method in class org.apache.log4j.helpers.Loader
-
Loads the specified class using the
ThreadcontextClassLoader, if that fails try Class.forname. - Loader - Class in org.apache.log4j.helpers
-
Loads resources (or images) from various sources.
- Loader() - Constructor for class org.apache.log4j.helpers.Loader
- LocationInfo - Class in org.apache.log4j.spi
-
The internal representation of caller location information.
- LocationInfo(StackTraceElement) - Constructor for class org.apache.log4j.spi.LocationInfo
-
Constructs a new instance.
- LocationInfo(String, String, String, String) - Constructor for class org.apache.log4j.spi.LocationInfo
-
Constructs a new instance.
- LocationInfo(Throwable, String) - Constructor for class org.apache.log4j.spi.LocationInfo
-
Constructs a new instance.
- 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
- log(Logger, LogEvent) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
-
Sends the event to all appenders directly connected with the logger.
- LOG4J_ID_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
-
log4jid string literal.
- LOG4J_PACKAGE_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
-
log4j package name string literal.
- Log4j1Configuration - Class in org.apache.log4j.config
-
Class Description goes here.
- Log4j1Configuration(LoggerContext, ConfigurationSource, int) - Constructor for class org.apache.log4j.config.Log4j1Configuration
- Log4j1ConfigurationConverter - Class in org.apache.log4j.config
-
Tool for converting a Log4j 1.x properties configuration file to Log4j 2.x XML configuration file.
- Log4j1ConfigurationConverter.CommandLineArguments - Class in org.apache.log4j.config
- Log4j1ConfigurationFactory - Class in org.apache.log4j.config
-
Experimental ConfigurationFactory for Log4j 1.2 properties configuration files.
- Log4j1ConfigurationFactory() - Constructor for class org.apache.log4j.config.Log4j1ConfigurationFactory
- Log4j1ConfigurationParser - Class in org.apache.log4j.config
-
Experimental parser for Log4j 1.2 properties configuration files.
- Log4j1ConfigurationParser() - Constructor for class org.apache.log4j.config.Log4j1ConfigurationParser
- Log4j1LevelPatternConverter - Class in org.apache.log4j.pattern
-
Outputs the Log4j 1.x level name.
- Log4j1MdcPatternConverter - Class in org.apache.log4j.pattern
-
Able to handle the contents of the LogEvent's MDC and either output the entire contents of the properties, or to output the value of a specific key within the property bundle when this pattern converter has the option set.
- Log4j1NdcPatternConverter - Class in org.apache.log4j.pattern
-
Returns the event's NDC in a StringBuilder.
- Log4j1SyslogLayout - Class in org.apache.log4j.layout
-
Port of the layout used by SyslogAppender in Log4j 1.x.
- Log4j1SyslogLayout.Builder<B> - Class in org.apache.log4j.layout
-
Builds a SyslogLayout.
- Log4j1XmlLayout - Class in org.apache.log4j.layout
-
Port of XMLLayout in Log4j 1.x.
- Log4jEntityResolver - Class in org.apache.log4j.xml
-
An
EntityResolverspecifically designed to returnlog4j.dtdwhich is embedded within the log4j jar file. - Log4jEntityResolver() - Constructor for class org.apache.log4j.xml.Log4jEntityResolver
- LogEventAdapter - Class in org.apache.log4j.bridge
-
Converts a Log4j 2 LogEvent into the components needed by a Log4j 1.x LoggingEvent.
- LogEventAdapter(LogEvent) - Constructor for class org.apache.log4j.bridge.LogEventAdapter
- LogEventWrapper - Class in org.apache.log4j.bridge
-
Exposes a Log4j 1 logging event as a Log4j 2 LogEvent.
- LogEventWrapper(LoggingEvent) - Constructor for class org.apache.log4j.bridge.LogEventWrapper
- Logger - Class in org.apache.log4j
- Logger(String) - Constructor for class org.apache.log4j.Logger
- LOGGER - Static variable in class org.apache.log4j.builders.appender.SocketAppenderBuilder
- LOGGER_FACTORY_KEY - Static variable in class org.apache.log4j.PropertyConfigurator
-
Key for specifying the
LoggerFactory. - LoggerDynamicMBean - Class in org.apache.log4j.jmx
- LoggerDynamicMBean(Logger) - Constructor for class org.apache.log4j.jmx.LoggerDynamicMBean
- loggerFactory - Variable in class org.apache.log4j.PropertyConfigurator
- LoggerFactory - Interface in org.apache.log4j.spi
-
Implement this interface to create new instances of Logger or a sub-class of Logger.
- LoggerRepository - Interface in org.apache.log4j.spi
-
A
LoggerRepositoryis used to create and retrieveLoggers. - LoggingEvent - Class in org.apache.log4j.spi
-
No-op version of Log4j 1.2 LoggingEvent.
- LoggingEvent() - Constructor for class org.apache.log4j.spi.LoggingEvent
-
Constructs a new instance.
- LoggingEvent(String, Category, long, Level, Object, String, ThrowableInformation, String, LocationInfo, Map) - Constructor for class org.apache.log4j.spi.LoggingEvent
-
Create new instance.
- LoggingEvent(String, Category, long, Priority, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
-
Instantiate a LoggingEvent from the supplied parameters.
- LoggingEvent(String, Category, Priority, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
-
Instantiate a LoggingEvent from the supplied parameters.
- LogLog - Class in org.apache.log4j.helpers
-
Logs statements from within Log4j.
- LogLog() - Constructor for class org.apache.log4j.helpers.LogLog
- LogManager - Class in org.apache.log4j
-
The main entry point to Log4j 1.
- LogManager() - Constructor for class org.apache.log4j.LogManager
M
- main(String[]) - Static method in class org.apache.log4j.config.Log4j1ConfigurationConverter
- makeNewLoggerInstance(String) - Method in interface org.apache.log4j.spi.LoggerFactory
- manager - Variable in class org.apache.log4j.config.Log4j1Configuration
- MapRewritePolicy - Class in org.apache.log4j.rewrite
-
This policy rewrites events where the message of the original event implements java.util.Map.
- MapRewritePolicy() - Constructor for class org.apache.log4j.rewrite.MapRewritePolicy
- MAX_BACKUP_INDEX - Static variable in class org.apache.log4j.builders.AbstractBuilder
- MAX_CAPACITY - Variable in class org.apache.log4j.PatternLayout
- MAX_SIZE_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
- maxBackupIndex - Variable in class org.apache.log4j.RollingFileAppender
-
There is one backup file by default.
- maxFileSize - Variable in class org.apache.log4j.RollingFileAppender
-
The default maximum file size is 10MB.
- MDC - Class in org.apache.log4j
-
This class behaves just like Log4j's MDC would - and so can cause issues with the redeployment of web applications if the Objects stored in the threads Map cannot be garbage collected.
- MessageRenderer - Class in org.apache.log4j.or.jms
-
Log4j 1.x JMS Message Renderer
- MessageRenderer() - Constructor for class org.apache.log4j.or.jms.MessageRenderer
- MISSING_LAYOUT - Static variable in interface org.apache.log4j.spi.ErrorCode
- MONITOR_INTERVAL - Static variable in class org.apache.log4j.config.Log4j1Configuration
N
- NA - Static variable in class org.apache.log4j.spi.LocationInfo
-
When location information is not available the constant
NAis returned. - name - Variable in class org.apache.log4j.AppenderSkeleton
- name - Variable in class org.apache.log4j.Category
-
The name of this category.
- NAME_ATTR - Static variable in class org.apache.log4j.xml.XmlConfiguration
- NameAbbreviator - Class in org.apache.log4j.pattern
-
NameAbbreviator generates abbreviated logger and class names.
- NameAbbreviator() - Constructor for class org.apache.log4j.pattern.NameAbbreviator
- NDC - Class in org.apache.log4j
-
This class does not use generics to provide better source compatibility.
- NEUTRAL - Static variable in class org.apache.log4j.spi.Filter
-
This filter is neutral with respect to the log event.
- newBuilder() - Static method in class org.apache.log4j.layout.Log4j1SyslogLayout
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.Log4j1LevelPatternConverter
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.Log4j1MdcPatternConverter
-
Obtains an instance of PropertiesPatternConverter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.Log4j1NdcPatternConverter
-
Obtains an instance of NdcPatternConverter.
- next - Variable in class org.apache.log4j.helpers.PatternConverter
- next - Variable in class org.apache.log4j.spi.Filter
-
Deprecated.As of 1.2.12, use
Filter.getNext()andFilter.setNext(org.apache.log4j.spi.Filter)instead - nextElement() - Method in class org.apache.log4j.helpers.NullEnumeration
- NoOpErrorHandler() - Constructor for class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
- 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.
- NOPLoggerRepository - Class in org.apache.log4j.spi
-
No-operation implementation of LoggerRepository which is used when LogManager.repositorySelector is erroneously nulled during class reloading.
- NOPLoggerRepository() - Constructor for class org.apache.log4j.spi.NOPLoggerRepository
- NULL - Static variable in class org.apache.log4j.builders.AbstractBuilder
- NULL - Static variable in class org.apache.log4j.config.Log4j1Configuration
- NULL - Static variable in interface org.apache.log4j.spi.Configurator
-
Special level signifying inherited behavior, same as
Configurator.INHERITED. - NULL_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.DateLayout
-
String constant designating no time information.
- NullAppender - Class in org.apache.log4j.varia
-
A NullAppender never outputs a message to any device.
- NullAppender() - Constructor for class org.apache.log4j.varia.NullAppender
- NullAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build a Null Appender
- NullAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.NullAppenderBuilder
- NullEnumeration - Class in org.apache.log4j.helpers
-
An always-empty Enumerator.
O
- obj - Variable in class org.apache.log4j.config.PropertySetter
- ObjectRenderer - Interface in org.apache.log4j.or
-
Converts objects to Strings.
- OFF - Static variable in class org.apache.log4j.Level
-
The
OFFhas the highest possible rank and is intended to turn off logging. - OFF_INT - Static variable in class org.apache.log4j.Priority
-
The
OFFhas the highest possible rank and is intended to turn off logging. - OptionConverter - Class in org.apache.log4j.helpers
-
A convenience class to convert property values to specific types.
- OptionHandler - Interface in org.apache.log4j.spi
-
Log4j 1 Interface for dealing with configuration.
- org.apache.log4j - package org.apache.log4j
-
Log4j 1.x compatibility layer.
- org.apache.log4j.bridge - package org.apache.log4j.bridge
- org.apache.log4j.builders - package org.apache.log4j.builders
- org.apache.log4j.builders.appender - package org.apache.log4j.builders.appender
- org.apache.log4j.builders.filter - package org.apache.log4j.builders.filter
- org.apache.log4j.builders.layout - package org.apache.log4j.builders.layout
- org.apache.log4j.builders.rewrite - package org.apache.log4j.builders.rewrite
- org.apache.log4j.builders.rolling - package org.apache.log4j.builders.rolling
- org.apache.log4j.component.helpers - package org.apache.log4j.component.helpers
- org.apache.log4j.config - package org.apache.log4j.config
-
Log4j 1.x compatibility layer.
- org.apache.log4j.helpers - package org.apache.log4j.helpers
-
Log4j 1.x compatibility layer.
- org.apache.log4j.jmx - package org.apache.log4j.jmx
-
This package lets you manage log4j settings using JMX.
- org.apache.log4j.layout - package org.apache.log4j.layout
- org.apache.log4j.legacy.core - package org.apache.log4j.legacy.core
- org.apache.log4j.or - package org.apache.log4j.or
- org.apache.log4j.or.jms - package org.apache.log4j.or.jms
- org.apache.log4j.pattern - package org.apache.log4j.pattern
- org.apache.log4j.rewrite - package org.apache.log4j.rewrite
- org.apache.log4j.spi - package org.apache.log4j.spi
-
Log4j 1.x compatibility layer.
- org.apache.log4j.varia - package org.apache.log4j.varia
- org.apache.log4j.xml - package org.apache.log4j.xml
-
Log4j 1.x compatibility layer.
- overrideAsNeeded(String) - Method in class org.apache.log4j.Hierarchy
-
Deprecated.Deprecated with no replacement.
P
- PARAM_TAG - Static variable in class org.apache.log4j.xml.XmlConfiguration
- parent - Variable in class org.apache.log4j.Category
-
The parent of this category.
- parse() - Method in class org.apache.log4j.helpers.PatternParser
- parse(String, String, Properties, PropertiesConfiguration, T) - Method in class org.apache.log4j.builders.BuilderManager
- parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
-
Always returns null.
- parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.DateTimeDateFormat
-
Always returns null.
- parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.ISO8601DateFormat
-
Always returns null.
- parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
-
Always returns null.
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.filter.DenyAllFilterBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.filter.LevelMatchFilterBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.filter.LevelRangeFilterBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.filter.StringMatchFilterBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.HtmlLayoutBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.PatternLayoutBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.SimpleLayoutBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.TTCCLayoutBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.XmlLayoutBuilder
- parse(PropertiesConfiguration) - Method in interface org.apache.log4j.builders.Parser
-
Parses a PropertiesConfigurationt.
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.rolling.CompositeTriggeringPolicyBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.rolling.SizeBasedTriggeringPolicyBuilder
- parse(PropertiesConfiguration) - Method in class org.apache.log4j.builders.rolling.TimeBasedRollingPolicyBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.filter.DenyAllFilterBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.filter.LevelMatchFilterBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.filter.LevelRangeFilterBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.filter.StringMatchFilterBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.HtmlLayoutBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.PatternLayoutBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.SimpleLayoutBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.TTCCLayoutBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.XmlLayoutBuilder
- parse(Element, XmlConfiguration) - Method in interface org.apache.log4j.builders.Parser
-
Parses a DOM Element.
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.rolling.CompositeTriggeringPolicyBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.rolling.SizeBasedTriggeringPolicyBuilder
- parse(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.rolling.TimeBasedRollingPolicyBuilder
- parseAppender(String, String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in interface org.apache.log4j.builders.appender.AppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.AsyncAppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.ConsoleAppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.DailyRollingFileAppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.EnhancedRollingFileAppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.FileAppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.NullAppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.RewriteAppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.RollingFileAppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.SocketAppenderBuilder
- parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.SyslogAppenderBuilder
- parseAppender(String, Element, XmlConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
- parseAppender(Properties, String) - Method in class org.apache.log4j.config.PropertiesConfiguration
- parseAppender(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
-
Used internally to parse an appender element.
- parseAppender(Element, XmlConfiguration) - Method in interface org.apache.log4j.builders.appender.AppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.AsyncAppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.ConsoleAppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.DailyRollingFileAppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.EnhancedRollingFileAppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.FileAppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.NullAppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.RewriteAppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.RollingFileAppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.SocketAppenderBuilder
- parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.SyslogAppenderBuilder
- parseAppenderFilters(Properties, String, String) - Method in class org.apache.log4j.config.PropertiesConfiguration
- parseCatsAndRenderers(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Parse non-root elements, such non-root categories and renderers.
- parseElement(Element, Properties, Class) - Static method in class org.apache.log4j.xml.DOMConfigurator
- parseElement(Element, Properties, Class) - Method in class org.apache.log4j.xml.XmlConfiguration
-
Creates an object and processes any nested param elements but does not call activateOptions.
- parseErrorHandler(Properties, String, String, Appender) - Method in class org.apache.log4j.config.PropertiesConfiguration
- parseFilter(String, Element, XmlConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
- parseFilters(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
-
Used internally to parse a filter element.
- parseLayout(String, String, Properties) - Method in class org.apache.log4j.config.PropertiesConfiguration
- parseLayout(String, Element, XmlConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
- parseLayout(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
-
Used internally to parse a layout element.
- Parser<T> - Interface in org.apache.log4j.builders
-
Parses DOM and properties.
- parseRewritePolicy(String, Element, XmlConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
- parseRewritePolicy(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
- parseTriggeringPolicy(String, Element, XmlConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
- parseTriggeringPolicy(Properties, String) - Method in class org.apache.log4j.config.PropertiesConfiguration
- parseTriggeringPolicy(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
- parseUnrecognizedElement(Element, Properties) - Method in interface org.apache.log4j.xml.UnrecognizedElementHandler
-
Called to inform a configured object when an unrecognized child element is encountered.
- pattern - Variable in class org.apache.log4j.helpers.PatternParser
- PatternConverter - Class in org.apache.log4j.helpers
-
PatternConverter is an abtract class that provides the formatting functionality that derived classes need.
- PatternConverter() - Constructor for class org.apache.log4j.helpers.PatternConverter
- PatternConverter(FormattingInfo) - Constructor for class org.apache.log4j.helpers.PatternConverter
- PatternLayout - Class in org.apache.log4j
- PatternLayout() - Constructor for class org.apache.log4j.PatternLayout
-
Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
- PatternLayout(String) - Constructor for class org.apache.log4j.PatternLayout
-
Constructs a PatternLayout using the supplied conversion pattern.
- PatternLayoutBuilder - Class in org.apache.log4j.builders.layout
-
Build a Pattern Layout
- PatternLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.PatternLayoutBuilder
- PatternLayoutBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.layout.PatternLayoutBuilder
- patternLength - Variable in class org.apache.log4j.helpers.PatternParser
- PatternParser - Class in org.apache.log4j.helpers
-
Most of the work of the
PatternLayoutclass is delegated to the PatternParser class. - PatternParser(String) - Constructor for class org.apache.log4j.helpers.PatternParser
- peek() - Static method in class org.apache.log4j.NDC
-
Looks at the last diagnostic context at the top of this NDC without removing it.
- pop() - Static method in class org.apache.log4j.NDC
-
Clients should call this method before leaving a diagnostic context.
- pos - Variable in class org.apache.log4j.helpers.DateLayout
- postDeregister() - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
- postRegister(Boolean) - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
- postRegister(Boolean) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- postRegister(Boolean) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
- preDeregister() - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
-
Performs cleanup for deregistering this MBean.
- preRegister(MBeanServer, ObjectName) - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
- preRegister(MBeanServer, ObjectName) - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
- Priority - Class in org.apache.log4j
-
Refrain from using this class directly, use the
Levelclass instead. - Priority() - Constructor for class org.apache.log4j.Priority
-
Default constructor for deserialization.
- Priority(int, String, int) - Constructor for class org.apache.log4j.Priority
-
Instantiate a level object.
- PropertiesConfiguration - Class in org.apache.log4j.config
-
Constructs a configuration based on Log4j 1 properties.
- PropertiesConfiguration(LoggerContext, Properties) - Constructor for class org.apache.log4j.config.PropertiesConfiguration
-
Constructs a new instance.
- PropertiesConfiguration(LoggerContext, ConfigurationSource, int) - Constructor for class org.apache.log4j.config.PropertiesConfiguration
-
Constructs a new instance.
- PropertiesConfiguration(LoggerContext, Properties) - Constructor for class org.apache.log4j.config.PropertiesConfiguration
-
Constructs a new instance.
- PropertiesConfigurationFactory - Class in org.apache.log4j.config
-
Configures Log4j from a log4j 1 format properties file.
- PropertiesConfigurationFactory() - Constructor for class org.apache.log4j.config.PropertiesConfigurationFactory
- PropertyConfigurator - Class in org.apache.log4j
-
Configures Log4j from properties.
- PropertyConfigurator() - Constructor for class org.apache.log4j.PropertyConfigurator
- PropertyRewritePolicy - Class in org.apache.log4j.rewrite
-
This policy rewrites events by adding a user-specified list of properties to the event.
- PropertyRewritePolicy() - Constructor for class org.apache.log4j.rewrite.PropertyRewritePolicy
- PropertySetter - Class in org.apache.log4j.config
-
General purpose Object property setter.
- PropertySetter(Object) - Constructor for class org.apache.log4j.config.PropertySetter
-
Create a new PropertySetter for the specified Object.
- PropertySetterException - Exception Class in org.apache.log4j.config
-
Thrown when an error is encountered whilst attempting to set a property using the
PropertySetterutility class. - PropertySetterException(String) - Constructor for exception class org.apache.log4j.config.PropertySetterException
-
Construct the exception with the given message.
- PropertySetterException(Throwable) - Constructor for exception class org.apache.log4j.config.PropertySetterException
-
Construct the exception with the given root cause.
- props - Variable in class org.apache.log4j.config.PropertySetter
- push(String) - Static method in class org.apache.log4j.NDC
-
Push new diagnostic context information for the current thread.
- put(Class, ObjectRenderer) - Method in class org.apache.log4j.or.RendererMap
-
Register an
ObjectRendererforclazz. - put(String, Object) - Static method in class org.apache.log4j.MDC
- put(String, String) - Static method in class org.apache.log4j.MDC
- put(LoggingEvent) - Method in class org.apache.log4j.helpers.BoundedFIFO
-
Puts a
LoggingEventin the buffer.
Q
- QuietWriter - Class in org.apache.log4j.helpers
-
QuietWriter does not throw exceptions when things go wrong.
- QuietWriter(Writer, ErrorHandler) - Constructor for class org.apache.log4j.helpers.QuietWriter
- qw - Variable in class org.apache.log4j.WriterAppender
-
This is the
quietWriterwhere we will write to.
R
- readResolve() - Method in class org.apache.log4j.Level
-
Resolved deserialized level to one of the stock instances.
- RECEIVER_NAME_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
-
receiver string literal.
- reconfigure() - Method in class org.apache.log4j.config.Log4j1Configuration
- reconfigure() - Method in class org.apache.log4j.config.PropertiesConfiguration
- reconfigure() - Method in class org.apache.log4j.xml.XmlConfiguration
- reconfigure(LoggerContext) - Static method in class org.apache.log4j.legacy.core.ContextUtil
-
Delegates to
LoggerContext.reconfigure()if appropriate. - REF_ATTR - Static variable in class org.apache.log4j.xml.XmlConfiguration
- registerMBean(Object, ObjectName) - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
-
Registers MBean instance in the attached server.
- registry - Variable in class org.apache.log4j.PropertyConfigurator
-
Used internally to keep track of configured appenders.
- RELATIVE - Static variable in class org.apache.log4j.builders.AbstractBuilder
- RELATIVE_TIME_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.DateLayout
-
String constant designating relative time.
- RelativeTimeDateFormat - Class in org.apache.log4j.helpers
-
Formats a
Dateby printing the number of milliseconds elapsed since construction of the format. - RelativeTimeDateFormat() - Constructor for class org.apache.log4j.helpers.RelativeTimeDateFormat
- ReloadingPropertyConfigurator - Class in org.apache.log4j.varia
- ReloadingPropertyConfigurator() - Constructor for class org.apache.log4j.varia.ReloadingPropertyConfigurator
- remove() - Static method in class org.apache.log4j.NDC
-
Remove the diagnostic context for this thread.
- remove(String) - Static method in class org.apache.log4j.MDC
- removeAllAppenders() - Method in class org.apache.log4j.Category
-
Removes all previously added appenders from this Category instance.
- removeAllAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
- removeAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Remove all previously added appenders.
- removeAllAppenders() - Method in class org.apache.log4j.spi.NOPLogger
-
Removes all previously added appenders from this Category instance.
- removeAppender(String) - Method in class org.apache.log4j.Category
-
Removes the appender with the name passed as parameter form the list of appenders.
- removeAppender(String) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
- removeAppender(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Remove the appender with the name passed as parameter from the list of appenders.
- removeAppender(String) - Method in class org.apache.log4j.spi.NOPLogger
-
Removes the appender with the name passed as parameter form the list of appenders.
- removeAppender(Appender) - Method in class org.apache.log4j.Category
-
Removes the appender passed as parameter form the list of appenders.
- removeAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
- removeAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Remove the appender passed as parameter from the list of appenders.
- removeAppender(Appender) - Method in class org.apache.log4j.spi.NOPLogger
-
Removes the appender passed as parameter form the list of appenders.
- removeAppenderEvent(Category, Appender) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- removeAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
- removeNotificationListener(NotificationListener) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- removeProperty(String) - Method in class org.apache.log4j.spi.LoggingEvent
- render(Throwable) - Static method in class org.apache.log4j.DefaultThrowableRenderer
-
Render throwable using Throwable.printStackTrace.
- RenderedMessage - Class in org.apache.log4j
-
Implements object rendering for Log4j 1.x compatibility.
- RenderedMessage(ObjectRenderer, Object) - Constructor for class org.apache.log4j.RenderedMessage
- RendererMap - Class in org.apache.log4j.or
-
Map class objects to an
ObjectRenderer. - RendererMap() - Constructor for class org.apache.log4j.or.RendererMap
- RendererSupport - Interface in org.apache.log4j.spi
- repository - Variable in class org.apache.log4j.Category
-
Categories need to know what Hierarchy they are in.
- RepositorySelector - Interface in org.apache.log4j.spi
-
The
LogManageruses one (and only one)RepositorySelectorimplementation to select theLoggerRepositoryfor a particular application context. - requiresLayout() - Method in interface org.apache.log4j.Appender
-
Configurators call this method to determine if the appender requires a layout.
- requiresLayout() - Method in class org.apache.log4j.bridge.AppenderWrapper
- requiresLayout() - Method in class org.apache.log4j.ConsoleAppender
-
The WriterAppender requires a layout.
- requiresLayout() - Method in class org.apache.log4j.varia.NullAppender
-
NullAppenders do not need a layout.
- requiresLayout() - Method in class org.apache.log4j.VectorAppender
- requiresLayout() - Method in class org.apache.log4j.WriterAppender
-
The WriterAppender requires a layout.
- reset() - Method in class org.apache.log4j.FileAppender
-
Close any previously opened file and call the parent's
reset. - reset() - Method in class org.apache.log4j.WriterAppender
-
Clear internal references to the writer and other variables.
- resetConfiguration() - Static method in class org.apache.log4j.BasicConfigurator
-
Resets the default hierarchy to its default.
- resetConfiguration() - Method in class org.apache.log4j.Hierarchy
-
Resets all values contained in this hierarchy instance to their default.
- resetConfiguration() - Static method in class org.apache.log4j.LogManager
- resetConfiguration() - Method in interface org.apache.log4j.spi.LoggerRepository
- resetConfiguration() - Method in class org.apache.log4j.spi.NOPLoggerRepository
- resize(int) - Method in class org.apache.log4j.helpers.BoundedFIFO
-
Resizes the buffer to a new size.
- resize(int) - Method in class org.apache.log4j.helpers.CyclicBuffer
-
Resizes the cyclic buffer to
newSize. - resolveEntity(String, String) - Method in class org.apache.log4j.xml.Log4jEntityResolver
- rewrite(LoggingEvent) - Method in class org.apache.log4j.bridge.RewritePolicyWrapper
- rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.MapRewritePolicy
-
Rewrite a logging event.
- rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.PropertyRewritePolicy
-
Rewrite a logging event.
- rewrite(LoggingEvent) - Method in interface org.apache.log4j.rewrite.RewritePolicy
-
Rewrite a logging event.
- rewrite(LogEvent) - Method in class org.apache.log4j.bridge.RewritePolicyAdapter
- RewriteAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build an Asynch Appender
- RewriteAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.RewriteAppenderBuilder
- RewriteAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.RewriteAppenderBuilder
- RewritePolicy - Interface in org.apache.log4j.rewrite
-
This interface is implemented to provide a rewrite strategy for RewriteAppender.
- RewritePolicyAdapter - Class in org.apache.log4j.bridge
-
Binds a Log4j 1.x RewritePolicy to Log4j 2.
- RewritePolicyAdapter(RewritePolicy) - Constructor for class org.apache.log4j.bridge.RewritePolicyAdapter
-
Constructor.
- RewritePolicyBuilder - Interface in org.apache.log4j.builders.rewrite
-
Define a RewritePolicy Builder.
- RewritePolicyWrapper - Class in org.apache.log4j.bridge
-
Binds a Log4j 2 RewritePolicy to Log4j 1.
- RewritePolicyWrapper(RewritePolicy) - Constructor for class org.apache.log4j.bridge.RewritePolicyWrapper
- RollingFileAppender - Class in org.apache.log4j
-
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.
- RollingFileAppender() - Constructor for class org.apache.log4j.RollingFileAppender
-
The default constructor simply calls its
parents constructor. - RollingFileAppender(Layout, String) - Constructor for class org.apache.log4j.RollingFileAppender
-
Constructs a FileAppender and open the file designated by
filename. - RollingFileAppender(Layout, String, boolean) - Constructor for class org.apache.log4j.RollingFileAppender
-
Constructs a RollingFileAppender and open the file designated by
filename. - RollingFileAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build a File Appender
- RollingFileAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.RollingFileAppenderBuilder
- RollingFileAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.RollingFileAppenderBuilder
- rollOver() - Method in class org.apache.log4j.RollingFileAppender
-
Implements the usual roll over behaviour.
- rootCause - Variable in exception class org.apache.log4j.config.PropertySetterException
-
The root cause.
- RootLogger - Class in org.apache.log4j.spi
-
RootLogger sits at the top of the logger hierarchy.
- RootLogger(Level) - Constructor for class org.apache.log4j.spi.RootLogger
-
The root logger names itself as "root".
- run() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- run() - Method in class org.apache.log4j.helpers.FileWatchdog
- run(Log4j1ConfigurationConverter.CommandLineArguments) - Static method in class org.apache.log4j.config.Log4j1ConfigurationConverter
S
- selectAndConfigure(InputStream, String, LoggerRepository) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Configure log4j given an
InputStream. - selectAndConfigure(URL, String, LoggerRepository) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Configure log4j given a URL.
- set(Boolean) - Method in class org.apache.log4j.builders.BooleanHolder
-
Deprecated.
- set(String, Element, AtomicBoolean) - Method in class org.apache.log4j.builders.AbstractBuilder
- set(String, Element, AtomicInteger) - Method in class org.apache.log4j.builders.AbstractBuilder
- set(String, Element, AtomicLong) - Method in class org.apache.log4j.builders.AbstractBuilder
- set(String, Element, AtomicReference<String>) - Method in class org.apache.log4j.builders.AbstractBuilder
- set(V) - Method in class org.apache.log4j.builders.Holder
-
Deprecated.
- setAcceptOnMatch(boolean) - Method in class org.apache.log4j.varia.LevelMatchFilter
- setAcceptOnMatch(boolean) - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Set the
AcceptOnMatchoption. - setAcceptOnMatch(boolean) - Method in class org.apache.log4j.varia.StringMatchFilter
- setAdditivity(boolean) - Method in class org.apache.log4j.Category
- setAdditivity(Logger, boolean) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
-
Delegates to
Logger.setAdditive(boolean)if appropriate. - setAppend(boolean) - Method in class org.apache.log4j.FileAppender
-
The Append option takes a boolean value.
- setAppender(Appender) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
- setAppender(Appender) - Method in interface org.apache.log4j.spi.ErrorHandler
-
Set the appender for which errors are handled.
- setAppender(Appender) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
The appender to which this error handler is attached.
- setAttribute(Attribute) - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
- setAttribute(Attribute) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
- setAttribute(Attribute) - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
- setAttribute(Attribute) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
- setAttributes(AttributeList) - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
-
Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.
- setBackupAppender(Appender) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
- setBackupAppender(Appender) - Method in interface org.apache.log4j.spi.ErrorHandler
-
Set the appender to fallback upon in case of failure.
- setBackupAppender(Appender) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
Set the backup appender.
- setBufferedIO(boolean) - Method in class org.apache.log4j.FileAppender
-
The BufferedIO option takes a boolean value.
- setBufferSize(int) - Method in class org.apache.log4j.FileAppender
-
Set the size of the IO buffer.
- setConversionPattern(String) - Method in class org.apache.log4j.PatternLayout
-
Set the ConversionPattern option.
- setCount(long) - Method in class org.apache.log4j.helpers.CountingQuietWriter
- setDateFormat(String) - Method in class org.apache.log4j.helpers.DateLayout
-
The value of the DateFormat option should be either an argument to the constructor of
SimpleDateFormator one of the srings "NULL", "RELATIVE", "ABSOLUTE", "DATE" or "ISO8601. - setDateFormat(String, TimeZone) - Method in class org.apache.log4j.helpers.DateLayout
-
Sets the DateFormat used to format date and time in the time zone determined by
timeZoneparameter. - setDateFormat(DateFormat, TimeZone) - Method in class org.apache.log4j.helpers.DateLayout
-
Sets the
DateFormatused to format time and date in the zone determined bytimeZone. - setDelay(long) - Method in class org.apache.log4j.helpers.FileWatchdog
-
Sets the delay in milliseconds to observe between each check of the file changes.
- setDisableOverride(String) - Method in class org.apache.log4j.Hierarchy
-
Deprecated.Deprecated with no replacement.
- setEncoding(String) - Method in class org.apache.log4j.WriterAppender
- setEndOfBatch(boolean) - Method in class org.apache.log4j.bridge.LogEventWrapper
- setErrorHandler(ErrorHandler) - Method in interface org.apache.log4j.Appender
-
Set the
ErrorHandlerfor this appender. - setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.AppenderSkeleton
-
Sets the
ErrorHandlerfor this Appender. - setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.bridge.AppenderWrapper
- setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.helpers.QuietWriter
- setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.WriterAppender
-
Set the
ErrorHandlerfor this WriterAppender and also the underlyingQuietWriterif any. - setFacility(Facility) - Method in class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- setFacilityPrinting(boolean) - Method in class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- setFailFast(boolean) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- setFile(String) - Method in class org.apache.log4j.FileAppender
-
The File property takes a string value which should be the name of the file to append to.
- setFile(String, boolean, boolean, int) - Method in class org.apache.log4j.FileAppender
-
Sets and opens the file where the log output will go.
- setFile(String, boolean, boolean, int) - Method in class org.apache.log4j.RollingFileAppender
- setFollow(boolean) - Method in class org.apache.log4j.ConsoleAppender
-
Sets whether the appender honors reassignments of System.out or System.err made after configuration.
- setHeader(boolean) - Method in class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- setImmediateFlush(boolean) - Method in class org.apache.log4j.WriterAppender
-
If the ImmediateFlush option is set to
true, the appender will flush at the end of each write. - setIncludeLocation(boolean) - Method in class org.apache.log4j.bridge.LogEventWrapper
- setInternalDebugging(boolean) - Static method in class org.apache.log4j.helpers.LogLog
-
Enables and disables Log4j internal logging.
- setLayout(Layout) - Method in interface org.apache.log4j.Appender
-
Set the
Layoutfor this appender. - setLayout(Layout) - Method in class org.apache.log4j.AppenderSkeleton
- setLayout(Layout) - Method in class org.apache.log4j.bridge.AppenderWrapper
- setLevel(Level) - Method in class org.apache.log4j.Category
- setLevel(Level) - Method in class org.apache.log4j.spi.NOPLogger
- setLevel(Level) - Method in class org.apache.log4j.spi.RootLogger
-
Sets the log level.
- setLevel(Logger, Level) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
-
Delegates to
Logger.setLevel(Level)if appropriate. - setLevelMax(Level) - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Set the
LevelMaxoption. - setLevelMin(Level) - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Set the
LevelMinoption. - setLevelToMatch(String) - Method in class org.apache.log4j.varia.LevelMatchFilter
- setLogger(Logger) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
- setLogger(Logger) - Method in interface org.apache.log4j.spi.ErrorHandler
-
Add a reference to a logger to which the failing appender might be attached to.
- setLogger(Logger) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
Adds the logger passed as parameter to the list of loggers that we need to search for in case of appender failure.
- setMaxBackupIndex(int) - Method in class org.apache.log4j.RollingFileAppender
-
Sets the maximum number of backup files to keep around.
- setMaxDepth(int) - Static method in class org.apache.log4j.NDC
-
Set maximum depth of this diagnostic context.
- setMaxFileSize(String) - Method in class org.apache.log4j.RollingFileAppender
-
Sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
- setMaximumFileSize(long) - Method in class org.apache.log4j.RollingFileAppender
-
Sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
- setMessageLayout(Layout<? extends Serializable>) - Method in class org.apache.log4j.layout.Log4j1SyslogLayout.Builder
- setName(String) - Method in interface org.apache.log4j.Appender
-
Set the name of this appender.
- setName(String) - Method in class org.apache.log4j.AppenderSkeleton
- setName(String) - Method in class org.apache.log4j.bridge.AppenderWrapper
- setNext(Filter) - Method in class org.apache.log4j.spi.Filter
-
Set the next filter pointer.
- setOption(String, String) - Method in class org.apache.log4j.helpers.DateLayout
-
Deprecated.Use the setter method for the option directly instead of the generic
setOptionmethod. - setOption(String, String) - Method in class org.apache.log4j.varia.DenyAllFilter
-
Deprecated.Use the setter method for the option directly instead of the generic
setOptionmethod. - setOption(String, String) - Method in class org.apache.log4j.varia.StringMatchFilter
-
Deprecated.Use the setter method for the option directly instead of the generic
setOptionmethod. - setParameter(Element, PropertySetter, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
- setParameter(Element, PropertySetter, Properties) - Method in class org.apache.log4j.xml.XmlConfiguration
-
Sets a parameter based from configuration file content.
- setPathIn(Path) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- setPathOut(Path) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- setPriority(Priority) - Method in class org.apache.log4j.Category
- setPriority(Priority) - Method in class org.apache.log4j.spi.NOPLogger
- setProperties(Object, Properties, String) - Static method in class org.apache.log4j.config.PropertySetter
-
Set the properties of an object passed as a parameter in one go.
- setProperties(String) - Method in class org.apache.log4j.rewrite.PropertyRewritePolicy
-
Set a string representing the property name/value pairs.
- setProperties(Properties, String) - Method in class org.apache.log4j.config.PropertySetter
-
Set the properites for the object that match the
prefixpassed as parameter. - setProperty(PropertyDescriptor, String, String) - Method in class org.apache.log4j.config.PropertySetter
-
Set the named property given a
PropertyDescriptor. - setProperty(String, String) - Method in class org.apache.log4j.config.PropertySetter
-
Set a property on this PropertySetter's Object.
- setProperty(String, String) - Method in class org.apache.log4j.spi.LoggingEvent
- setQuietMode(boolean) - Static method in class org.apache.log4j.helpers.LogLog
-
In quite mode no LogLog generates strictly no output, not even for errors.
- setQWForFiles(Writer) - Method in class org.apache.log4j.FileAppender
-
Sets the quiet writer being used.
- setQWForFiles(Writer) - Method in class org.apache.log4j.RollingFileAppender
- setRecurseIntoPath(Path) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- setRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
-
Used by subclasses to add a renderer to the hierarchy passed as parameter.
- setRenderer(Class, ObjectRenderer) - Method in interface org.apache.log4j.spi.RendererSupport
- setRepositorySelector(RepositorySelector, Object) - Static method in class org.apache.log4j.LogManager
- setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.Category
- setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.spi.NOPLogger
- setStringToMatch(String) - Method in class org.apache.log4j.varia.StringMatchFilter
- 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
-
The string form of
Hierarchy.setThreshold(Level). - setThreshold(String) - Method in interface org.apache.log4j.spi.LoggerRepository
-
Another form of
LoggerRepository.setThreshold(Level)accepting a string parameter instead of aLevel. - setThreshold(String) - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Another form of
LoggerRepository.setThreshold(Level)accepting a string parameter instead of aLevel. - setThreshold(Level) - Method in class org.apache.log4j.Hierarchy
-
Enable logging for logging requests with level
lor higher. - setThreshold(Level) - Method in interface org.apache.log4j.spi.LoggerRepository
-
Set the repository-wide threshold.
- setThreshold(Level) - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Set the repository-wide threshold.
- setThreshold(Priority) - Method in class org.apache.log4j.AppenderSkeleton
- setThrowableRenderer(ThrowableRenderer) - Method in class org.apache.log4j.Hierarchy
-
Set throwable renderer.
- setThrowableRenderer(ThrowableRenderer) - Method in interface org.apache.log4j.spi.ThrowableRendererSupport
-
Set throwable renderer.
- setTimeZone(String) - Method in class org.apache.log4j.helpers.DateLayout
-
The TimeZoneID option is a time zone ID string in the format expected by the
TimeZone.getTimeZone(java.lang.String)method. - setVerbose(boolean) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- setWriter(Writer) - Method in class org.apache.log4j.WriterAppender
-
Sets the Writer where the log output will go.
- SEVERE - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
SEVERE.
- SEVERE_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for SEVERE.
- shouldFlush(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
-
Determines whether the writer should be flushed after this event is written.
- shutdown() - Static method in class org.apache.log4j.Category
-
Shuts down the current configuration.
- shutdown() - Method in class org.apache.log4j.Hierarchy
-
Shutting down a hierarchy will safely close and remove all appenders in all categories including the root logger.
- shutdown() - Static method in class org.apache.log4j.LogManager
-
Shuts down the current configuration.
- shutdown() - Method in interface org.apache.log4j.spi.LoggerRepository
- shutdown() - Method in class org.apache.log4j.spi.NOPLoggerRepository
- shutdown(ClassLoader) - Method in class org.apache.log4j.Hierarchy
- shutdown(LoggerContext) - Static method in class org.apache.log4j.legacy.core.ContextUtil
-
Delegates to
LoggerContext.close()if appropriate. - SIMPLE_TIME_PATTERN - Static variable in interface org.apache.log4j.component.helpers.Constants
-
SimpleTimePattern for ABSOLUTE.
- SimpleLayout - Class in org.apache.log4j
-
Simple-layout.
- SimpleLayout() - Constructor for class org.apache.log4j.SimpleLayout
- SimpleLayoutBuilder - Class in org.apache.log4j.builders.layout
-
Build a Pattern Layout
- SimpleLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.SimpleLayoutBuilder
- SizeBasedTriggeringPolicyBuilder - Class in org.apache.log4j.builders.rolling
- SizeBasedTriggeringPolicyBuilder() - Constructor for class org.apache.log4j.builders.rolling.SizeBasedTriggeringPolicyBuilder
- SizeBasedTriggeringPolicyBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.rolling.SizeBasedTriggeringPolicyBuilder
- SocketAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build a Console Appender
- SocketAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.SocketAppenderBuilder
- SocketAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.SocketAppenderBuilder
- spacePad(StringBuffer, int) - Method in class org.apache.log4j.helpers.PatternConverter
-
Fast space padding method.
- start() - Method in class org.apache.log4j.bridge.FilterAdapter
- start() - Method in class org.apache.log4j.jmx.Agent
-
Deprecated.
- startTime - Variable in class org.apache.log4j.helpers.RelativeTimeDateFormat
- stop() - Method in class org.apache.log4j.bridge.AppenderAdapter.Adapter
- STRING_TO_MATCH_OPTION - Static variable in class org.apache.log4j.varia.StringMatchFilter
-
Deprecated.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
- StringMatchFilter - Class in org.apache.log4j.varia
-
Simple filter based on string matching.
- StringMatchFilter() - Constructor for class org.apache.log4j.varia.StringMatchFilter
- StringMatchFilterBuilder - Class in org.apache.log4j.builders.filter
-
Build a String match filter.
- StringMatchFilterBuilder() - Constructor for class org.apache.log4j.builders.filter.StringMatchFilterBuilder
- StringMatchFilterBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.filter.StringMatchFilterBuilder
- subAppend(LoggingEvent) - Method in class org.apache.log4j.RollingFileAppender
-
This method differentiates RollingFileAppender from its super class.
- subAppend(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
-
Actual writing occurs here.
- subst(String, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
- subst(String, Properties) - Method in class org.apache.log4j.xml.XmlConfiguration
-
Substitutes property value for any references in expression.
- substVars(String) - Method in class org.apache.log4j.builders.AbstractBuilder
- substVars(String, Properties) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Perform variable substitution in string
valfrom the values of keys found in the system propeties. - SyslogAppenderBuilder - Class in org.apache.log4j.builders.appender
-
Build a File Appender
- SyslogAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.SyslogAppenderBuilder
- SyslogAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.SyslogAppenderBuilder
- SYSTEM_ERR - Static variable in class org.apache.log4j.ConsoleAppender
- SYSTEM_OUT - Static variable in class org.apache.log4j.ConsoleAppender
T
- tailFilter - Variable in class org.apache.log4j.AppenderSkeleton
- target - Variable in class org.apache.log4j.ConsoleAppender
- TEMP_CONSOLE_APPENDER_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
-
TEMP_CONSOLE_APPENDER string literal.
- TEMP_LIST_APPENDER_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
-
TEMP_LIST_APPENDER string literal.
- TEST_PREFIX - Static variable in class org.apache.log4j.config.PropertiesConfigurationFactory
-
File name prefix for test configurations.
- TEST_PREFIX - Static variable in class org.apache.log4j.xml.XmlConfiguration
-
File name prefix for test configurations.
- TEST_PREFIX - Static variable in class org.apache.log4j.xml.XmlConfigurationFactory
-
File name prefix for test configurations.
- ThreadGroupRenderer - Class in org.apache.log4j.or
- ThreadGroupRenderer() - Constructor for class org.apache.log4j.or.ThreadGroupRenderer
- threshold - Variable in class org.apache.log4j.AppenderSkeleton
- THRESHOLD_KEY - Static variable in class org.apache.log4j.config.PropertiesConfiguration
- THRESHOLD_PARAM - Static variable in class org.apache.log4j.config.Log4j1Configuration
- ThrowableInformation - Class in org.apache.log4j.spi
-
Log4j's internal representation of throwables.
- ThrowableInformation(String[]) - Constructor for class org.apache.log4j.spi.ThrowableInformation
-
Constructs new instance.
- ThrowableInformation(Throwable) - Constructor for class org.apache.log4j.spi.ThrowableInformation
-
Constructs new instance.
- ThrowableInformation(Throwable, Category) - Constructor for class org.apache.log4j.spi.ThrowableInformation
-
Constructs a new instance.
- ThrowableRenderer - Interface in org.apache.log4j.spi
-
Implemented by classes that render instances of java.lang.Throwable (exceptions and errors) into a string representation.
- ThrowableRendererSupport - Interface in org.apache.log4j.spi
-
Implemented by logger repositories that support configurable rendering of Throwables.
- TimeBasedRollingPolicyBuilder - Class in org.apache.log4j.builders.rolling
- TimeBasedRollingPolicyBuilder() - Constructor for class org.apache.log4j.builders.rolling.TimeBasedRollingPolicyBuilder
- TimeBasedRollingPolicyBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.rolling.TimeBasedRollingPolicyBuilder
- timeStamp - Variable in class org.apache.log4j.spi.LoggingEvent
-
The number of milliseconds elapsed from 1/1/1970 until logging event was created.
- TIMESTAMP_RULE_FORMAT - Static variable in interface org.apache.log4j.component.helpers.Constants
-
time stamp pattern string literal.
- TIMEZONE_OPTION - Static variable in class org.apache.log4j.helpers.DateLayout
-
Deprecated.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
- toBoolean(String, boolean) - Static method in class org.apache.log4j.helpers.OptionConverter
-
If
valueis "true", thentrueis returned. - toByteArray(LogEvent) - Method in class org.apache.log4j.bridge.LayoutAdapter
- toFileSize(String, long) - Static method in class org.apache.log4j.helpers.OptionConverter
- toImmutable() - Method in class org.apache.log4j.bridge.LogEventWrapper
- toInt() - Method in class org.apache.log4j.Priority
-
Returns the integer representation of this level.
- toInt(String, int) - Static method in class org.apache.log4j.helpers.OptionConverter
- toLevel(int) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
-
Gets level matching numeric value.
- toLevel(int) - Static method in class org.apache.log4j.Level
-
Convert an integer passed as argument to a level.
- toLevel(int, UtilLoggingLevel) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
-
Convert an integer passed as argument to a level.
- toLevel(int, Level) - Static method in class org.apache.log4j.Level
-
Convert an integer passed as argument to a level.
- toLevel(String) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
-
Get level with specified symbolic name.
- toLevel(String) - Static method in class org.apache.log4j.Level
-
Convert the string passed as argument to a level.
- toLevel(String, String, Level) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Converts a custom priority level to a Level object.
- toLevel(String, Level) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Converts a standard or custom priority level to a Level object.
- toLevel(String, Level) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
-
Get level with specified symbolic name.
- toLevel(String, Level) - Static method in class org.apache.log4j.Level
-
Convert the string passed as argument to a level.
- toPriority(int) - Static method in class org.apache.log4j.Priority
-
Deprecated.Please use the
Level.toLevel(int)method instead. - toPriority(int, Priority) - Static method in class org.apache.log4j.Priority
-
Deprecated.Please use the
Level.toLevel(int, Level)method instead. - toPriority(String) - Static method in class org.apache.log4j.Priority
-
Deprecated.Please use the
Level.toLevel(String)method instead. - toPriority(String, Priority) - Static method in class org.apache.log4j.Priority
-
Deprecated.Please use the
Level.toLevel(String, Level)method instead. - toSerializable(LogEvent) - Method in class org.apache.log4j.bridge.LayoutAdapter
- toSerializable(LogEvent) - Method in class org.apache.log4j.layout.Log4j1SyslogLayout
-
Formats a
LogEventin conformance with the BSD Log record format. - toSerializable(LogEvent) - Method in class org.apache.log4j.layout.Log4j1XmlLayout
- toString() - Method in class org.apache.log4j.bridge.LayoutWrapper
- toString() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
- toString() - Method in class org.apache.log4j.Priority
-
Returns the string representation of this priority.
- 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
- TRACE - Static variable in class org.apache.log4j.Level
-
The
TRACELevel designates finer-grained informational events than theDEBUGlevel. - TRACE_INT - Static variable in class org.apache.log4j.Level
-
TRACE level integer value.
- TriggeringEventEvaluator - Interface in org.apache.log4j.spi
-
Implementors decide when to perform an appender specific action.
- TriggeringPolicyBuilder - Interface in org.apache.log4j.builders.rolling
- TTCC_CONVERSION_PATTERN - Static variable in class org.apache.log4j.PatternLayout
-
A conversion pattern equivalent to the TTCCCLayout.
- TTCCLayoutBuilder - Class in org.apache.log4j.builders.layout
-
Build a Pattern Layout
- TTCCLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.TTCCLayoutBuilder
- TTCCLayoutBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.layout.TTCCLayoutBuilder
U
- UNKNOWN_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for UNKNOWN.
- UnrecognizedElementHandler - Interface in org.apache.log4j.xml
-
When implemented by an object configured by DOMConfigurator, the handle method will be called when an unrecognized child element is encountered.
- UtilLoggingLevel - Class in org.apache.log4j.helpers
-
An extension of the Level class that provides support for java.util.logging Levels.
- UtilLoggingLevel(int, String, int) - Constructor for class org.apache.log4j.helpers.UtilLoggingLevel
-
Create new instance.
V
- VALUE_ATTR - Static variable in class org.apache.log4j.xml.XmlConfiguration
- vector - Variable in class org.apache.log4j.VectorAppender
- VectorAppender - Class in org.apache.log4j
-
Appends logging events to a vector.
- VectorAppender() - Constructor for class org.apache.log4j.VectorAppender
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
- warn(String) - Static method in class org.apache.log4j.helpers.LogLog
-
Logs Log4j internal warning statements.
- warn(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
-
Logs Log4j internal warnings.
- WARN - Static variable in class org.apache.log4j.Level
-
The
WARNlevel designates potentially harmful situations. - WARN - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.WARNinstead. - WARN_INT - Static variable in class org.apache.log4j.Priority
-
The
WARNlevel designates potentially harmful situations. - WARNING - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
WARNING.
- WARNING_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for WARNING.
- wasEmpty() - Method in class org.apache.log4j.helpers.BoundedFIFO
-
Returns
trueif there is just one element in the buffer. - wasFull() - Method in class org.apache.log4j.helpers.BoundedFIFO
-
Returns
trueif the number of elements in the buffer plus 1 equals the maximum buffer size, returnsfalseotherwise. - write(String) - Method in class org.apache.log4j.helpers.CountingQuietWriter
- write(String) - Method in class org.apache.log4j.helpers.QuietWriter
- WRITE_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
- writeFooter() - Method in class org.apache.log4j.WriterAppender
-
Write a footer as produced by the embedded layout's
Layout.getFooter()method. - writeHeader() - Method in class org.apache.log4j.WriterAppender
-
Write a header as produced by the embedded layout's
Layout.getHeader()method. - WriterAppender - Class in org.apache.log4j
-
WriterAppender appends log events to a
Writeror anOutputStreamdepending on the user's choice. - WriterAppender() - Constructor for class org.apache.log4j.WriterAppender
-
This default constructor does nothing.
- WriterAppender(Layout, OutputStream) - Constructor for class org.apache.log4j.WriterAppender
-
Instantiate a WriterAppender and set the output destination to a new
OutputStreamWriterinitialized withosas itsOutputStream. - WriterAppender(Layout, Writer) - Constructor for class org.apache.log4j.WriterAppender
-
Instantiate a WriterAppender and set the output destination to
writer.
X
- XmlConfiguration - Class in org.apache.log4j.xml
-
Class Description goes here.
- XmlConfiguration(LoggerContext, ConfigurationSource, int) - Constructor for class org.apache.log4j.xml.XmlConfiguration
- XmlConfigurationFactory - Class in org.apache.log4j.xml
-
Constructs a Configuration usable in Log4j 2 from a Log4j 1 configuration file.
- XmlConfigurationFactory() - Constructor for class org.apache.log4j.xml.XmlConfigurationFactory
- XmlLayoutBuilder - Class in org.apache.log4j.builders.layout
-
Build an XML Layout
- XmlLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.XmlLayoutBuilder
- XmlLayoutBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.layout.XmlLayoutBuilder
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form