Skip navigation links
A C D E F G I L M N O P R S T U W Z 

A

ACCEPT_ON_MATCH - Static variable in class org.apache.log4j.filter.MatchFilterBase
Chain policy constant = AcceptOnMatch.
ACCEPT_ON_NOMATCH - Static variable in class org.apache.log4j.filter.MatchFilterBase
Chain policy constant = AcceptOnNomatch.
activate() - Method in class org.apache.log4j.config.PaxPropertySetter
 
activateOptions() - Method in class org.apache.log4j.ConsoleAppender
Prepares the appender for use.
activateOptions() - Method in class org.apache.log4j.DailyZipRollingFileAppender
 
activateOptions() - Method in class org.apache.log4j.rolling.RollingFileAppender
Prepare instance of use.
activateOptions() - Method in class org.apache.log4j.SanitizingPatternLayout
 
activateOptions() - Method in class org.ops4j.pax.logging.service.internal.bridges.ErrorHandlerBridgeImpl
 
activateOptions() - Method in class org.ops4j.pax.logging.service.internal.bridges.LayoutBridgeImpl
 
Activator - Class in org.ops4j.pax.logging.service.internal
Activator for one of different backends supporting pax-logging-api multi-facade.
Activator() - Constructor for class org.ops4j.pax.logging.service.internal.Activator
 
addAppender(Appender) - Method in class org.apache.log4j.AsyncAppender
Add appender.
addAppender(Appender) - Method in class org.apache.log4j.Category
Add newAppender to the list of appenders of this Category instance.
addAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Attach an appender.
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.
append(LoggingEvent) - Method in class org.apache.log4j.AsyncAppender
append(LoggingEvent) - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
append(LoggingEvent) - Method in class org.ops4j.pax.logging.service.internal.bridges.AppenderBridgeImpl
 
AppenderAttachableImpl - Class in org.apache.log4j.helpers
A straightforward implementation of the AppenderAttachable interface.
AppenderAttachableImpl() - Constructor for class org.apache.log4j.helpers.AppenderAttachableImpl
 
AppenderBridgeImpl - Class in org.ops4j.pax.logging.service.internal.bridges
Bridge from Log4J to pax-logging.
AppenderBridgeImpl(PaxAppenderProxy) - Constructor for class org.ops4j.pax.logging.service.internal.bridges.AppenderBridgeImpl
 
appenderList - Variable in class org.apache.log4j.helpers.AppenderAttachableImpl
Array of appenders.
appendLoopOnAppenders(LoggingEvent) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Call the doAppend method on all attached appenders.
assertLog(boolean, String) - Method in class org.apache.log4j.Category
If assertion parameter is false, then logs msg as an error statement.
AsyncAppender - Class in org.apache.log4j
The AsyncAppender lets users log events asynchronously.
AsyncAppender() - Constructor for class org.apache.log4j.AsyncAppender
Create new instance.

C

callAppenders(LoggingEvent) - Method in class org.apache.log4j.Category
Call the appenders in the hierrachy starting at this.
canMatch() - Method in class org.apache.log4j.filter.MatchFilterBase
Subclasses can override this method with their own version if it is possible that no match test can/should be performed due to a misconfiguration.
canMatch() - Method in class org.apache.log4j.filter.MDCMatchFilter
Returns true if a key to match has been configured.
Category - Class in org.apache.log4j
This class has been deprecated and replaced by the Logger subclass.
Category(String) - Constructor for class org.apache.log4j.Category
This constructor created a new Category instance and sets its name.
cleanupAndRollOver() - Method in class org.apache.log4j.DailyZipRollingFileAppender
 
close() - Method in class org.apache.log4j.AsyncAppender
Close this AsyncAppender by interrupting the dispatcher thread which will process all pending events before exiting.
close() - Method in class org.apache.log4j.rolling.RollingFileAppender
Close appender.
close() - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
close() - Method in class org.ops4j.pax.logging.service.internal.bridges.AppenderBridgeImpl
 
closeAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
closeWriter() - Method in class org.apache.log4j.ConsoleAppender
ConsoleAppender - Class in org.apache.log4j
ConsoleAppender appends log events to System.out or System.err using a layout specified by the user.
ConsoleAppender() - Constructor for class org.apache.log4j.ConsoleAppender
Constructs an unconfigured appender.
ConsoleAppender(Layout) - Constructor for class org.apache.log4j.ConsoleAppender
Creates a configured appender.
ConsoleAppender(Layout, String) - Constructor for class org.apache.log4j.ConsoleAppender
Creates a configured appender.
convertArg(String, Class) - Method in class org.apache.log4j.config.PaxPropertySetter
Convert val a String parameter to an object of a given type.
create(Properties) - Method in class org.apache.log4j.config.PaxPropertySetter.ObjectFactory
 
create(Properties) - Method in interface org.apache.log4j.spi.OptionFactory
 
createFilter(BundleContext, String) - Static method in class org.ops4j.pax.logging.service.internal.bridges.ErrorHandlerBridgeImpl
Filter in the form of (&(objectClass=org.ops4j.pax.logging.spi.PaxErrorHandler)(org.ops4j.pax.logging.errorhandler.name=NAME)), where NAME comes from osgi: prefixed references from logging configuration.
createFilter(BundleContext, String) - Static method in class org.ops4j.pax.logging.service.internal.bridges.FilterBridgeImpl
Filter in the form of (&(objectClass=org.ops4j.pax.logging.spi.PaxFilter)(org.ops4j.pax.logging.filter.name=NAME)), where NAME comes from osgi: prefixed references from logging configuration.
createFilter(BundleContext, String) - Static method in class org.ops4j.pax.logging.service.internal.bridges.LayoutBridgeImpl
Filter in the form of (&(objectClass=org.ops4j.pax.logging.spi.PaxLayout)(org.ops4j.pax.logging.layout.name=NAME)), where NAME comes from osgi: prefixed references from logging configuration.
createPatternParser(String) - Method in class org.apache.log4j.SanitizingPatternLayout
 
createWriter(OutputStream) - Method in class org.apache.log4j.rolling.RollingFileAppender
Returns an OutputStreamWriter when passed an OutputStream.

D

DailyZipRollingFileAppender - Class in org.apache.log4j
DailyZipRollingFileAppender extends FileAppender so that the underlying file is rolled over at a user chosen frequency.
DailyZipRollingFileAppender() - Constructor for class org.apache.log4j.DailyZipRollingFileAppender
The default constructor does nothing.
DailyZipRollingFileAppender(Layout, String, String) - Constructor for class org.apache.log4j.DailyZipRollingFileAppender
Instantiate a DailyRollingFileAppender and open the file designated by filename.
debug(Object) - Method in class org.apache.log4j.Category
Log a message object with the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
debug(String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
debug(PaxMarker, String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
debug(PaxMarker, String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
decide(LoggingEvent) - Method in class org.apache.log4j.filter.MatchFilterBase
Implementation that calls the canMatch() and match() methods of subclasses.
decide(LoggingEvent) - Method in class org.ops4j.pax.logging.service.internal.bridges.FilterBridgeImpl
 
DEFAULT_BUFFER_SIZE - Static variable in class org.apache.log4j.AsyncAppender
The default buffer size is set to 128 events.
DENY_ON_MATCH - Static variable in class org.apache.log4j.filter.MatchFilterBase
Chain policy constant = DenyOnMatch.
DENY_ON_NOMATCH - Static variable in class org.apache.log4j.filter.MatchFilterBase
Chain policy constant = DenyOnNomatch.
doAppend(LoggingEvent) - Method in class org.apache.log4j.AsyncAppender
 
doAppend(LoggingEvent) - Method in class org.ops4j.pax.logging.service.internal.bridges.AppenderBridgeImpl
PAXLOGGING-182 - method doesn't have to be synchronized
doConfigure(Properties, LoggerRepository) - Method in class org.apache.log4j.PaxLoggingConfigurator
 
doRender(Throwable) - Method in class org.apache.log4j.OsgiThrowableRenderer

E

error(Object) - Method in class org.apache.log4j.Category
Log a message object with the ERROR Level.
error(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the ERROR level including the stack trace of the Throwable t passed as parameter.
error(String) - Method in class org.ops4j.pax.logging.service.internal.bridges.ErrorHandlerBridgeImpl
 
error(String, Exception, int) - Method in class org.ops4j.pax.logging.service.internal.bridges.ErrorHandlerBridgeImpl
 
error(String, Exception, int, LoggingEvent) - Method in class org.ops4j.pax.logging.service.internal.bridges.ErrorHandlerBridgeImpl
 
error(String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
error(String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
error(PaxMarker, String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
error(PaxMarker, String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
ErrorHandlerBridgeImpl - Class in org.ops4j.pax.logging.service.internal.bridges
Bridge from Log4J to pax-logging.
ErrorHandlerBridgeImpl(BundleContext, String, ErrorHandler) - Constructor for class org.ops4j.pax.logging.service.internal.bridges.ErrorHandlerBridgeImpl
 
exists(String) - Static method in class org.apache.log4j.Category
Deprecated.
Please use LogManager.exists(java.lang.String) instead.

F

fatal(Object) - Method in class org.apache.log4j.Category
Log a message object with the FATAL Level.
fatal(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the FATAL level including the stack trace of the Throwable t passed as parameter.
fatal(String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
fatal(String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
fatal(PaxMarker, String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
fatal(PaxMarker, String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
FilterBridgeImpl - Class in org.ops4j.pax.logging.service.internal.bridges
Bridge from Log4J to pax-logging.
FilterBridgeImpl(BundleContext, String, Filter) - Constructor for class org.ops4j.pax.logging.service.internal.bridges.FilterBridgeImpl
 
forcedLog(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
This method creates a new logging event and logs the event without further checks.
format(LoggingEvent) - Method in class org.ops4j.pax.logging.service.internal.bridges.LayoutBridgeImpl
 

G

getAdditivity() - Method in class org.apache.log4j.Category
Get the additivity flag for this Category instance.
getAllAppenders() - Method in class org.apache.log4j.AsyncAppender
Get iterator over attached appenders.
getAllAppenders() - Method in class org.apache.log4j.Category
Get the appenders contained in this category as an Enumeration.
getAllAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Get all attached appenders as an Enumeration.
getAppender(String) - Method in class org.apache.log4j.AsyncAppender
Get appender by name.
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
Look for an attached appender named as name.
getAppender() - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
getAppender(String, Map<?, ?>) - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
getAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
getBlocking() - Method in class org.apache.log4j.AsyncAppender
Gets whether appender should block calling thread when buffer is full.
getBufferSize() - Method in class org.apache.log4j.AsyncAppender
Gets the current buffer size.
getChainedPriority() - Method in class org.apache.log4j.Category
Deprecated.
Please use the the Category.getEffectiveLevel() method instead.
getChainPolicy() - Method in class org.apache.log4j.filter.MatchFilterBase
Gets the chain policy string value that matches the current settings of matchReturnValue and noMatchReturn value.
getClassName() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLocationInfoImpl
 
getCompressBackups() - Method in class org.apache.log4j.DailyZipRollingFileAppender
 
getContentType() - Method in class org.ops4j.pax.logging.service.internal.bridges.LayoutBridgeImpl
 
getCurrentCategories() - Static method in class org.apache.log4j.Category
Deprecated.
Please use LogManager.getCurrentLoggers() instead.
getDatePattern() - Method in class org.apache.log4j.DailyZipRollingFileAppender
Returns the value of the DatePattern option.
getDefault() - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
getDefaultHierarchy() - Static method in class org.apache.log4j.Category
Deprecated.
Please use LogManager.getLoggerRepository() instead.
getEffectiveLevel() - Method in class org.apache.log4j.Category
Starting from this category, search the category hierarchy for a non-null level and return it.
getExactMatch() - Method in class org.apache.log4j.filter.MDCMatchFilter
Returns the true if an exact match will be checked for.
getFileLength() - Method in class org.apache.log4j.rolling.RollingFileAppender
Get byte length of current active log file.
getFileName() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLocationInfoImpl
 
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.ops4j.pax.logging.service.internal.bridges.LayoutBridgeImpl
 
getFQNOfLoggerClass() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getHeader() - Method in class org.ops4j.pax.logging.service.internal.bridges.LayoutBridgeImpl
 
getHierarchy() - Method in class org.apache.log4j.Category
Deprecated.
Please use Category.getLoggerRepository() instead.
getInstance(String) - Static method in class org.apache.log4j.Category
Deprecated.
Make sure to use Logger.getLogger(String) instead.
getInstance(Class) - Static method in class org.apache.log4j.Category
Deprecated.
Please make sure to use Logger.getLogger(Class) instead.
getKey() - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
getKeyToMatch() - Method in class org.apache.log4j.filter.MDCMatchFilter
Gets the key to match in the MDC of the LoggingEvent.
getLevel() - Method in class org.apache.log4j.Category
Returns the assigned Level, if any, for this Category.
getLevel() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getLineNumber() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLocationInfoImpl
 
getLocationInfo() - Method in class org.apache.log4j.AsyncAppender
Gets whether the location of the logging request call should be captured.
getLocationInformation() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getLogger(Bundle, String, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
 
getLoggerName() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getLoggerRepository() - Method in class org.apache.log4j.Category
Return the the LoggerRepository where this Category is attached.
getLogLevel() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
getLogLevel() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
 
getMatchReturnValue() - Method in class org.apache.log4j.filter.MatchFilterBase
Gets the value that will be returned upon a successful match.
getMaxBackupIndex() - Method in class org.apache.log4j.DailyZipRollingFileAppender
 
getMessage() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getMethodName() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLocationInfoImpl
 
getName() - Method in class org.apache.log4j.Category
Return the category name.
getName() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
getNoMatchReturnValue() - Method in class org.apache.log4j.filter.MatchFilterBase
Gets the value that will be returned upon an unsuccessful match.
getParent() - Method in class org.apache.log4j.Category
Returns the parent of this category.
getPaxContext() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
getPaxContext() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
 
getPriority() - Method in class org.apache.log4j.Category
Deprecated.
Please use Category.getLevel() instead.
getProperties() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getPropertyDescriptor(String) - Method in class org.apache.log4j.config.PaxPropertySetter
 
getProxies() - Method in class org.apache.log4j.PaxLoggingConfigurator
 
getRenderedMessage() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getReplacement() - Method in class org.apache.log4j.SanitizingPatternLayout
 
getReplaceRegex() - Method in class org.apache.log4j.SanitizingPatternLayout
 
getResourceBundle() - Method in class org.apache.log4j.Category
Return the inherited ResourceBundle for this category.
getResourceBundleString(String) - Method in class org.apache.log4j.Category
Returns the string resource coresponding to key in this category's inherited resource bundle.
getRollingPolicy() - Method in class org.apache.log4j.rolling.RollingFileAppender
Get rolling policy.
getRoot() - Static method in class org.apache.log4j.Category
Deprecated.
Please use Logger.getRootLogger() instead.
getService(Bundle, ServiceRegistration) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
Use local class to delegate calls to underlying instance while keeping bundle reference.
getSyslogEquivalent() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLevelImpl
 
getTarget() - Method in class org.apache.log4j.ConsoleAppender
Returns the current value of the Target property.
getThreadName() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getThrowableStrRep() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getTimeStamp() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
getTriggeringPolicy() - Method in class org.apache.log4j.rolling.RollingFileAppender
Get triggering policy.
getTypeOfCompression() - Method in class org.apache.log4j.DailyZipRollingFileAppender
 
getValueToMatch() - Method in class org.apache.log4j.filter.MDCMatchFilter
Gets the value to match in the NDC value of the LoggingEvent.

I

ignoresThrowable() - Method in class org.ops4j.pax.logging.service.internal.bridges.LayoutBridgeImpl
 
incrementFileLength(int) - Method in class org.apache.log4j.rolling.RollingFileAppender
Increments estimated byte length of current active log file.
info(Object) - Method in class org.apache.log4j.Category
Log a message object with the INFO Level.
info(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the INFO level including the stack trace of the Throwable t passed as parameter.
inform(String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
inform(String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
inform(PaxMarker, String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
inform(PaxMarker, String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
introspect() - Method in class org.apache.log4j.config.PaxPropertySetter
Uses JavaBeans Introspector to computer setters of object to be configured.
isAttached(Appender) - Method in class org.apache.log4j.AsyncAppender
Determines if specified appender is attached.
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
Returns true if the specified appender is in the list of attached appenders, false otherwise.
isDebugEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the DEBUG Level.
isDebugEnabled() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isDebugEnabled(PaxMarker) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isEnabledFor(Priority) - Method in class org.apache.log4j.Category
Check whether this category is enabled for a given Level passed as parameter.
isErrorEnabled() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isErrorEnabled(PaxMarker) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isFatalEnabled() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isFatalEnabled(PaxMarker) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isGreaterOrEqual(PaxLevel) - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLevelImpl
 
isInfoEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the info Level.
isInfoEnabled() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isInfoEnabled(PaxMarker) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isTraceEnabled() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isTraceEnabled(PaxMarker) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isTrim() - Method in class org.apache.log4j.SanitizingPatternLayout
 
isWarnEnabled() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
isWarnEnabled(PaxMarker) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 

L

l7dlog(Priority, String, Throwable) - Method in class org.apache.log4j.Category
Log a localized message.
l7dlog(Priority, String, Object[], Throwable) - Method in class org.apache.log4j.Category
Log a localized and parameterized message.
LayoutBridgeImpl - Class in org.ops4j.pax.logging.service.internal.bridges
Bridge from Log4J to pax-logging.
LayoutBridgeImpl(BundleContext, String, Layout) - Constructor for class org.ops4j.pax.logging.service.internal.bridges.LayoutBridgeImpl
 
level - Variable in class org.apache.log4j.Category
The assigned level of this category.
locationInformationExists() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
log(Priority, Object, Throwable) - Method in class org.apache.log4j.Category
This generic form is intended to be used by wrappers.
log(Priority, Object) - Method in class org.apache.log4j.Category
This generic form is intended to be used by wrappers.
log(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
This is the most generic printing method.
log(int, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
 
log(int, String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
 
log(ServiceReference, int, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
 
log(ServiceReference, int, String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
 
LoggingManagedService - Class in org.ops4j.pax.logging.service.internal
Separate ManagedService to monitor updates to org.ops4j.pax.logging PID if Configuration Admin is available.
LoggingManagedService(PaxLoggingServiceImpl) - Constructor for class org.ops4j.pax.logging.service.internal.LoggingManagedService
 

M

match(LoggingEvent) - Method in class org.apache.log4j.filter.MatchFilterBase
Subclasses must implement this method to perform the specific match test that they require.
match(LoggingEvent) - Method in class org.apache.log4j.filter.MDCMatchFilter
If ExactMatch is set to true, returns true only when ValueToMatch exactly matches the MDC value of the logging event.
MatchFilterBase - Class in org.apache.log4j.filter
This is the abstract base class for many useful filters implemented in the log4j.filter package.
MatchFilterBase() - Constructor for class org.apache.log4j.filter.MatchFilterBase
 
matchReturnValue - Variable in class org.apache.log4j.filter.MatchFilterBase
The value that will be returned upon a successful match.
maxBackupIndex - Variable in class org.apache.log4j.DailyZipRollingFileAppender
 
MDCMatchFilter - Class in org.apache.log4j.filter
The MDCMatchFilter matches a configured value against the value of a configured key in the MDC of a logging event.
MDCMatchFilter() - Constructor for class org.apache.log4j.filter.MDCMatchFilter
 
MDCSiftingAppender - Class in org.apache.log4j.sift
A log4j appender which splits the output based on an MDC key
MDCSiftingAppender() - Constructor for class org.apache.log4j.sift.MDCSiftingAppender
 
MDCSiftingAppender.Node - Class in org.apache.log4j.sift
Pointer to real target Appender with timestamped acces.

N

name - Variable in class org.apache.log4j.Category
The name of this category.
Node() - Constructor for class org.apache.log4j.sift.MDCSiftingAppender.Node
 
noMatchReturnValue - Variable in class org.apache.log4j.filter.MatchFilterBase
The value that will be returned upon an unsuccessful match

O

obj - Variable in class org.apache.log4j.config.PaxPropertySetter
 
ObjectFactory(Properties, String) - Constructor for class org.apache.log4j.config.PaxPropertySetter.ObjectFactory
 
OptionFactory - Interface in org.apache.log4j.spi
 
org.apache.log4j - package org.apache.log4j
While pax-logging-api bundle exports org.apache.log4j package (and makes some methods no-op), pax-logging-service bundle has to Private-Package some of the classes from the same package.
org.apache.log4j.config - package org.apache.log4j.config
 
org.apache.log4j.filter - package org.apache.log4j.filter
 
org.apache.log4j.helpers - package org.apache.log4j.helpers
 
org.apache.log4j.rolling - package org.apache.log4j.rolling
 
org.apache.log4j.sift - package org.apache.log4j.sift
 
org.apache.log4j.spi - package org.apache.log4j.spi
 
org.apache.log4j.zip - package org.apache.log4j.zip
 
org.ops4j.pax.logging.service.internal - package org.ops4j.pax.logging.service.internal
 
org.ops4j.pax.logging.service.internal.bridges - package org.ops4j.pax.logging.service.internal.bridges
pax-logging-service (Log4J1) may be extended in two ways: using fragment bundle, so we have access to entire Log4J1 using whiteboard approach, where we register services implementing interfaces from org.ops4j.pax.logging.spi package.
org.ops4j.pax.logging.service.internal.spi - package org.ops4j.pax.logging.service.internal.spi
 
OSGI_PREFIX - Static variable in class org.apache.log4j.PaxLoggingConfigurator
 
OsgiThrowableRenderer - Class in org.apache.log4j
Enhanced implementation of ThrowableRenderer.
OsgiThrowableRenderer() - Constructor for class org.apache.log4j.OsgiThrowableRenderer
 

P

parent - Variable in class org.apache.log4j.Category
The parent of this category.
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.rolling.RollingFileAppender
PaxLevelImpl - Class in org.ops4j.pax.logging.service.internal.spi
Log4J1 delegated PaxLevel.
PaxLevelImpl(Level) - Constructor for class org.ops4j.pax.logging.service.internal.spi.PaxLevelImpl
 
PaxLocationInfoImpl - Class in org.ops4j.pax.logging.service.internal.spi
Log4J1 delegated PaxLocationInfo.
PaxLocationInfoImpl(LocationInfo) - Constructor for class org.ops4j.pax.logging.service.internal.spi.PaxLocationInfoImpl
 
PaxLoggerImpl - Class in org.ops4j.pax.logging.service.internal
Log4J1 specific PaxLogger delegating directly to Log4J1's Logger.
PaxLoggingConfigurator - Class in org.apache.log4j
OSGi-specific PropertyConfigurator that can parse log4j.properties file and dynamically reference some log4j services (appenders, layouts, error handlers, filters) from OSGi registry.
PaxLoggingConfigurator(BundleContext) - Constructor for class org.apache.log4j.PaxLoggingConfigurator
 
PaxLoggingEventImpl - Class in org.ops4j.pax.logging.service.internal.spi
The internal representation of logging events.
PaxLoggingEventImpl(LoggingEvent) - Constructor for class org.ops4j.pax.logging.service.internal.spi.PaxLoggingEventImpl
 
PaxLoggingServiceImpl - Class in org.ops4j.pax.logging.service.internal
Log4J1 specific implementation of PaxLoggingService.
PaxLoggingServiceImpl(BundleContext, LogReaderServiceImpl, EventAdminPoster, ConfigurationNotifier) - Constructor for class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
 
PaxPropertySetter - Class in org.apache.log4j.config
General purpose Object property setter.
PaxPropertySetter(Object) - Constructor for class org.apache.log4j.config.PaxPropertySetter
Create a new PaxPropertySetter for the specified Object.
PaxPropertySetter.ObjectFactory - Class in org.apache.log4j.config
 
props - Variable in class org.apache.log4j.config.PaxPropertySetter
 

R

removeAllAppenders() - Method in class org.apache.log4j.AsyncAppender
Removes and closes all attached appenders.
removeAllAppenders() - Method in class org.apache.log4j.Category
Remove all previously added appenders from this Category instance.
removeAllAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove and close all previously attached appenders.
removeAppender(Appender) - Method in class org.apache.log4j.AsyncAppender
Removes an appender.
removeAppender(String) - Method in class org.apache.log4j.AsyncAppender
Remove appender by name.
removeAppender(Appender) - Method in class org.apache.log4j.Category
Remove the appender passed as parameter form the list of appenders.
removeAppender(String) - Method in class org.apache.log4j.Category
Remove the appender with the name passed as parameter form the list of appenders.
removeAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove the appender passed as parameter form the list of attached appenders.
removeAppender(String) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove the appender with the name passed as parameter form the list of appenders.
repository - Variable in class org.apache.log4j.Category
 
requiresLayout() - Method in class org.apache.log4j.AsyncAppender
requiresLayout() - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
requiresLayout() - Method in class org.ops4j.pax.logging.service.internal.bridges.AppenderBridgeImpl
 
resourceBundle - Variable in class org.apache.log4j.Category
 
RollingFileAppender - Class in org.apache.log4j.rolling
RollingFileAppender extends FileAppender to backup the log files depending on RollingPolicy and TriggeringPolicy.
RollingFileAppender() - Constructor for class org.apache.log4j.rolling.RollingFileAppender
Construct a new instance.
rollover() - Method in class org.apache.log4j.rolling.RollingFileAppender
Implements the usual roll over behaviour.
rollOver() - Method in class org.apache.log4j.zip.ZipRollingFileAppender
 

S

SanitizingPatternLayout - Class in org.apache.log4j
A PatternLayout that allows you to trim and sanitize a logging event message to avoid security issues like: https://cwe.mitre.org/data/definitions/117.html
SanitizingPatternLayout() - Constructor for class org.apache.log4j.SanitizingPatternLayout
 
setAdditivity(boolean) - Method in class org.apache.log4j.Category
Set the additivity flag for this Category instance.
setAppender(OptionFactory) - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
setAppender(Appender) - Method in class org.ops4j.pax.logging.service.internal.bridges.ErrorHandlerBridgeImpl
 
setBackupAppender(Appender) - Method in class org.ops4j.pax.logging.service.internal.bridges.ErrorHandlerBridgeImpl
 
setBlocking(boolean) - Method in class org.apache.log4j.AsyncAppender
Sets whether appender should wait if there is no space available in the event buffer or immediately return.
setBufferSize(int) - Method in class org.apache.log4j.AsyncAppender
Sets the number of messages allowed in the event buffer before the calling thread is blocked (if blocking is true) or until messages are summarized and discarded.
setChainPolicy(String) - Method in class org.apache.log4j.filter.MatchFilterBase
Sets the match and nomatch return values based on a "policy" string.
setCompressBackups(String) - Method in class org.apache.log4j.DailyZipRollingFileAppender
 
setDatePattern(String) - Method in class org.apache.log4j.DailyZipRollingFileAppender
The DatePattern takes a string in the same format as expected by SimpleDateFormat.
setDefault(String) - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
setDefaultConfiguration(Dictionary<String, String>) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
When there's system/context property specified using PaxLoggingConstants.LOGGING_CFG_PROPERTY_FILE, and ConfigurationAdmin is available, Pax Logging may first get null configuration.
setExactMatch(boolean) - Method in class org.apache.log4j.filter.MDCMatchFilter
Set to true if configured value must exactly match the MDC value of the LoggingEvent.
setFollow(boolean) - Method in class org.apache.log4j.ConsoleAppender
Sets whether the appender honors reassignments of System.out or System.err made after configuration.
setKey(String) - Method in class org.apache.log4j.sift.MDCSiftingAppender
 
setKeyToMatch(String) - Method in class org.apache.log4j.filter.MDCMatchFilter
Sets the key to match in the MDC of the LoggingEvent.
setLevel(Level) - Method in class org.apache.log4j.Category
Set the level of this Category.
setLocationInfo(boolean) - Method in class org.apache.log4j.AsyncAppender
The LocationInfo option takes a boolean value.
setLogger(Logger) - Method in class org.ops4j.pax.logging.service.internal.bridges.ErrorHandlerBridgeImpl
 
setMatchReturnValue(String) - Method in class org.apache.log4j.filter.MatchFilterBase
Set the value to return upon a successful match.
setMaxBackupIndex(int) - Method in class org.apache.log4j.DailyZipRollingFileAppender
 
setNoMatchReturnValue(String) - Method in class org.apache.log4j.filter.MatchFilterBase
Set the value to return upon a successful match.
setPriority(Priority) - Method in class org.apache.log4j.Category
Deprecated.
setProperties(Object, Properties, String) - Static method in class org.apache.log4j.config.PaxPropertySetter
Set the properties of an object passed as a parameter in one go.
setProperties(Properties, String) - Method in class org.apache.log4j.config.PaxPropertySetter
Set the properites for the object that match the prefix passed as parameter.
setProperty(String, String) - Method in class org.apache.log4j.config.PaxPropertySetter
Set a property on this PaxPropertySetter's Object.
setProperty(PropertyDescriptor, String, String) - Method in class org.apache.log4j.config.PaxPropertySetter
Set the named property given a PropertyDescriptor.
setReplacement(String) - Method in class org.apache.log4j.SanitizingPatternLayout
 
setReplaceRegex(String) - Method in class org.apache.log4j.SanitizingPatternLayout
 
setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.Category
Set the resource bundle to be used with localized logging methods Category.l7dlog(Priority,String,Throwable) and Category.l7dlog(Priority,String,Object[],Throwable).
setRollingPolicy(RollingPolicy) - Method in class org.apache.log4j.rolling.RollingFileAppender
Sets the rolling policy.
setTarget(String) - Method in class org.apache.log4j.ConsoleAppender
Sets the value of the Target option.
setTriggeringPolicy(TriggeringPolicy) - Method in class org.apache.log4j.rolling.RollingFileAppender
Set triggering policy.
setTrim(boolean) - Method in class org.apache.log4j.SanitizingPatternLayout
 
setTypeOfCompression(String) - Method in class org.apache.log4j.DailyZipRollingFileAppender
 
setValueToMatch(String) - Method in class org.apache.log4j.filter.MDCMatchFilter
Sets the value to match in the NDC value of the LoggingEvent.
shutdown() - Static method in class org.apache.log4j.Category
Deprecated.
Please use LogManager.shutdown() instead.
shutdown() - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
Shut down the Pax Logging service.
start(BundleContext) - Method in class org.ops4j.pax.logging.service.internal.Activator
 
stop(BundleContext) - Method in class org.ops4j.pax.logging.service.internal.Activator
 
subAppend(LoggingEvent) - Method in class org.apache.log4j.DailyZipRollingFileAppender
This method differentiates DailyRollingFileAppender from its super class.
subAppend(LoggingEvent) - Method in class org.apache.log4j.rolling.RollingFileAppender
SYSTEM_ERR - Static variable in class org.apache.log4j.ConsoleAppender
 
SYSTEM_OUT - Static variable in class org.apache.log4j.ConsoleAppender
 

T

target - Variable in class org.apache.log4j.ConsoleAppender
 
toInt() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLevelImpl
 
toString() - Method in class org.ops4j.pax.logging.service.internal.spi.PaxLevelImpl
 
trace(String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
trace(String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
trace(PaxMarker, String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
trace(PaxMarker, String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 

U

ungetService(Bundle, ServiceRegistration, Object) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
 
UNKNOWN_POLICY - Static variable in class org.apache.log4j.filter.MatchFilterBase
Chain policy constant = UnknownPolicy.
updated(Dictionary<String, ?>) - Method in class org.ops4j.pax.logging.service.internal.LoggingManagedService
 
updated(Dictionary<String, ?>) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggingServiceImpl
ManagedService-like method but not requiring Configuration Admin

W

warn(Object) - Method in class org.apache.log4j.Category
Log a message object with the WARN Level.
warn(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message with the WARN level including the stack trace of the Throwable t passed as parameter.
warn(String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
warn(String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
warn(PaxMarker, String, Throwable) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 
warn(PaxMarker, String, Throwable, String) - Method in class org.ops4j.pax.logging.service.internal.PaxLoggerImpl
 

Z

ZipRollingFileAppender - Class in org.apache.log4j.zip
A log4j appender which acts as a RollingFileAppender.
ZipRollingFileAppender() - Constructor for class org.apache.log4j.zip.ZipRollingFileAppender
 
A C D E F G I L M N O P R S T U W Z 
Skip navigation links

Copyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.