- 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
-
- 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
-
- 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
-
- 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
-
- getInstance(String) - Static method in class org.apache.log4j.Category
-
- getInstance(Class) - Static method in class org.apache.log4j.Category
-
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-