# Index

A B C D E F G H I J L M O P R S T U V W X
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## A

addElementSelectorAndActionAssociations(RuleStore) - Method in class org.apache.sling.commons.log.logback.internal.joran.JoranConfiguratorWrapper
addListener(LogEntryListener) - Method in class org.apache.sling.commons.log.logback.internal.store.LogStoreImpl
addLogConfig(LogConfig) - Method in class org.apache.sling.commons.log.logback.internal.util.LoggerSpecificEncoder
  Add LogConfig which associates all the categories with the layout
addModelHandlerAssociations(DefaultProcessor) - Method in class org.apache.sling.commons.log.logback.internal.joran.JoranConfiguratorWrapper
  Subclass to provide a custom wrapper around the AppenderRef handling so we can keep track of what appenders were added to which loggers
APP_ROOT - Static variable in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  The app root
append(ILoggingEvent) - Method in class org.apache.sling.commons.log.logback.internal.store.LogStoreAppender
append(LogEntry) - Method in class org.apache.sling.commons.log.logback.internal.store.LogStoreImpl
APPENDER_NAME - Static variable in class org.apache.sling.commons.log.logback.internal.store.LogStoreAppender

## B

buildCurrentModel(SaxEventInterpretationContext, String, Attributes) - Method in class org.apache.sling.commons.log.logback.OsgiAction
  Build the OsgiModel for the given inputs
buildCurrentModel(SaxEventInterpretationContext, String, Attributes) - Method in class org.apache.sling.commons.log.logback.OsgiAppenderRefAction
  Build the OsgiAppenderRefModel for the given inputs
buildModelInterpretationContext() - Method in class org.apache.sling.commons.log.logback.internal.joran.JoranConfiguratorWrapper
  Override to allow the LogConfigManager to contribute substitution properties

## C

close(InputSource) - Static method in class org.apache.sling.commons.log.logback.internal.util.Util
  Close the stream for the input source
ConfigAdminSupport - Class in org.apache.sling.commons.log.logback.internal.config
  Helper to handle registration of the configurable logging services
ConfigAdminSupport() - Constructor for class org.apache.sling.commons.log.logback.internal.config.ConfigAdminSupport
ConfigProvider - Interface in org.apache.sling.commons.log.logback
  Provides source for Logback configuration fragment.
ConfigurationException - Exception in org.apache.sling.commons.log.logback.internal.config
  Exception for any errors encountered while utilizing any properties for configuration services
ConfigurationException(String, String) - Constructor for exception org.apache.sling.commons.log.logback.internal.config.ConfigurationException
  Constructor
ConfigurationException(String, String, Throwable) - Constructor for exception org.apache.sling.commons.log.logback.internal.config.ConfigurationException
  Constructor
ConfigurationServiceFactory<S extends LogConfigurator> - Class in org.apache.sling.commons.log.logback.internal.config
  Factory of logging configuration services
ConfigurationServiceFactory(LogConfigManager, Supplier<S>) - Constructor for class org.apache.sling.commons.log.logback.internal.config.ConfigurationServiceFactory
  Constructor
configure(LoggerContext) - Method in class org.apache.sling.commons.log.logback.spi.DefaultConfigurator
  Callback to configure the logger context
createLoggerConfig(LoggerConfig) - Method in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  Creates a logger configuration

## D

DEBUG - Enum constant in enum class org.apache.sling.commons.log.logback.store.LogLevel
DefaultConfigurator - Class in org.apache.sling.commons.log.logback.spi
  Implementation to block the original logback configuration handling
DefaultConfigurator() - Constructor for class org.apache.sling.commons.log.logback.spi.DefaultConfigurator
deleted(String) - Method in class org.apache.sling.commons.log.logback.internal.config.LoggerManagedServiceFactory
  Remove the logger configuration for the supplied configuration service
deleteLoggerConfig(String) - Method in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  Deletes a logger configuration

## E

EmbeddedBundleActivator - Class in org.apache.sling.commons.log.logback.internal.embed
EmbeddedBundleActivator() - Constructor for class org.apache.sling.commons.log.logback.internal.embed.EmbeddedBundleActivator
encode(ILoggingEvent) - Method in class org.apache.sling.commons.log.logback.internal.util.LoggerSpecificEncoder
  Encodes the text for the event
equals(Object) - Method in class org.apache.sling.commons.log.logback.internal.joran.OsgiAppenderRefModel
  Returns wither the supplied object is equals to this one
equals(Object) - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Indicates whether some other object is "equal to" this one.
ERROR - Enum constant in enum class org.apache.sling.commons.log.logback.store.LogLevel
escapeXml(String) - Static method in class org.apache.sling.commons.log.logback.internal.util.XmlUtil
  Escape the special characters of the input to be safe as an xml string

## F

formattedMessage() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns the value of the `formattedMessage` record component.

## G

getConfigResource() - Method in class org.apache.sling.commons.log.logback.spi.DefaultConfigurator
  Return the URL for the configuration resource
getConfigSource() - Method in interface org.apache.sling.commons.log.logback.ConfigProvider
  Return the input source that supplies the logback configuration
getDeclaredOrigin() - Method in class org.apache.sling.commons.log.logback.internal.util.SlingContextUtil
  Return the origin where this instance was declared
getLogFile() - Method in class org.apache.sling.commons.log.logback.webconsole.LoggerConfig
  Gets the log file
getLoggers() - Method in class org.apache.sling.commons.log.logback.webconsole.LoggerConfig
  Gets the loggers
getLogLevel() - Method in class org.apache.sling.commons.log.logback.webconsole.LoggerConfig
  Gets the log level
getLogWriter() - Method in class org.apache.sling.commons.log.logback.internal.util.SlingRollingFileAppender
  Get the LogWriter config associated with this appender
getName() - Method in class org.apache.sling.commons.log.logback.internal.config.LoggerManagedServiceFactory
  Descriptive name of this factory
getNumOfLines() - Method in class org.apache.sling.commons.log.logback.webconsole.TailerOptions
  Get the number of lines to include
getPid() - Method in class org.apache.sling.commons.log.logback.webconsole.LoggerConfig
  Gets the PID
getProperty() - Method in exception org.apache.sling.commons.log.logback.internal.config.ConfigurationException
  The property that was invalid
getReason() - Method in exception org.apache.sling.commons.log.logback.internal.config.ConfigurationException
  The reason that the property value was invalid
getRecent(Pattern, LogLevel, int) - Method in class org.apache.sling.commons.log.logback.internal.store.LogStoreImpl
getRecent(Pattern, LogLevel, int) - Method in interface org.apache.sling.commons.log.logback.store.LogStore
  Returns a list of `LogEntrie`s matching the specified parameters
getRef() - Method in class org.apache.sling.commons.log.logback.internal.joran.OsgiAppenderRefModel
  Get the appender ref name
getRegex() - Method in class org.apache.sling.commons.log.logback.webconsole.TailerOptions
  Gets the pattern to match
getService(Bundle, ServiceRegistration<S>) - Method in class org.apache.sling.commons.log.logback.internal.config.ConfigurationServiceFactory
  Get or create the service for the supplied registration.
getSupportedModelClass() - Method in class org.apache.sling.commons.log.logback.internal.joran.OsgiModelHandler
GlobalConfigurator - Class in org.apache.sling.commons.log.logback.internal.config
  Global logging configuration service
GlobalConfigurator() - Constructor for class org.apache.sling.commons.log.logback.internal.config.GlobalConfigurator

## H

handle(ModelInterpretationContext, Model) - Method in class org.apache.sling.commons.log.logback.internal.joran.OsgiModelHandler
hashCode() - Method in class org.apache.sling.commons.log.logback.internal.joran.OsgiAppenderRefModel
  Returns a hash code value for the object
hashCode() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns a hash code value for this object.

## I

INFO - Enum constant in enum class org.apache.sling.commons.log.logback.store.LogLevel
isAdditive() - Method in class org.apache.sling.commons.log.logback.webconsole.LoggerConfig
  Gets additive value

## J

JoranConfiguratorWrapper - Class in org.apache.sling.commons.log.logback.internal.joran
  Wrap the original JoronConfigurator to provide tracking of the appender-ref that happen during processing
JoranConfiguratorWrapper(LogConfigManager) - Constructor for class org.apache.sling.commons.log.logback.internal.joran.JoranConfiguratorWrapper
  Constructor

## L

level() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns the value of the `level` record component.
LOG_FILE_DEFAULT - Static variable in class org.apache.sling.commons.log.logback.internal.config.LoggerManagedServiceFactory
  The default file name when a value is not supplied in the configuration
LogConfigurator - Class in org.apache.sling.commons.log.logback.internal.config
  Base class for logging configuration services
LogConfigurator() - Constructor for class org.apache.sling.commons.log.logback.internal.config.LogConfigurator
LogEntry - Record Class in org.apache.sling.commons.log.logback.store
  Snapshot of a log entry.
LogEntry(long, LogLevel, String, String, String, String, String, String, Map<String, String>) - Constructor for record class org.apache.sling.commons.log.logback.store.LogEntry
  Creates an instance of a `LogEntry` record class.
LogEntry(long, LogLevel, String, String, String, String, Map<String, String>) - Constructor for record class org.apache.sling.commons.log.logback.store.LogEntry
  Backwards-compatible constructor without the structured throwable fields.
LogEntryListener - Interface in org.apache.sling.commons.log.logback.store
  Whiteboard-style callback for newly recorded `log entries`.
LoggerConfig - Class in org.apache.sling.commons.log.logback.webconsole
  Encapsulates the info about a logger configuration
LoggerConfig(String, String, String[], String, boolean) - Constructor for class org.apache.sling.commons.log.logback.webconsole.LoggerConfig
  Constructor
LoggerManagedServiceFactory - Class in org.apache.sling.commons.log.logback.internal.config
  Factory for non-global logging configuration services
LoggerManagedServiceFactory() - Constructor for class org.apache.sling.commons.log.logback.internal.config.LoggerManagedServiceFactory
loggerName() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns the value of the `loggerName` record component.
LoggerSpecificEncoder - Class in org.apache.sling.commons.log.logback.internal.util
  Pattern layout encoder for specific loggers
LoggerSpecificEncoder(Layout<ILoggingEvent>) - Constructor for class org.apache.sling.commons.log.logback.internal.util.LoggerSpecificEncoder
  Constructor
LogLevel - Enum Class in org.apache.sling.commons.log.logback.store
  Severity levels supported by the log store.
LogPanel - Interface in org.apache.sling.commons.log.logback.webconsole
  Interface for the Felix Web Console plugin that displays the current active log bundle configuration
LogStore - Interface in org.apache.sling.commons.log.logback.store
  Queriable store of structured log entries.
LogStoreAppender - Class in org.apache.sling.commons.log.logback.internal.store
LogStoreAppender(LogStoreImpl) - Constructor for class org.apache.sling.commons.log.logback.internal.store.LogStoreAppender
LogStoreImpl - Class in org.apache.sling.commons.log.logback.internal.store
LogStoreImpl(int) - Constructor for class org.apache.sling.commons.log.logback.internal.store.LogStoreImpl
LogStoreRegistrar - Class in org.apache.sling.commons.log.logback.internal.store
LogStoreRegistrar() - Constructor for class org.apache.sling.commons.log.logback.internal.store.LogStoreRegistrar

## M

makeInstance(Context, ModelInterpretationContext) - Static method in class org.apache.sling.commons.log.logback.internal.joran.OsgiModelHandler
  Factory to create an instance of this class
makeNewInstance() - Method in class org.apache.sling.commons.log.logback.internal.joran.OsgiAppenderRefModel
  Factory method to create an instance of this model
makeNewInstance() - Method in class org.apache.sling.commons.log.logback.internal.joran.OsgiModel
  Factory method to create an instance of this model
mdc() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns the value of the `mdc` record component.
mirror(Model) - Method in class org.apache.sling.commons.log.logback.internal.joran.OsgiAppenderRefModel
  Mirror the state of the the supplied model

## O

onEntry(LogEntry) - Method in interface org.apache.sling.commons.log.logback.store.LogEntryListener
  Notification that a new `LogEntry` was recorded.
org.apache.sling.commons.log.logback - package org.apache.sling.commons.log.logback
  Provides configuration support for the Logback based logging in Sling
org.apache.sling.commons.log.logback.internal.config - package org.apache.sling.commons.log.logback.internal.config
org.apache.sling.commons.log.logback.internal.embed - package org.apache.sling.commons.log.logback.internal.embed
org.apache.sling.commons.log.logback.internal.joran - package org.apache.sling.commons.log.logback.internal.joran
org.apache.sling.commons.log.logback.internal.stacktrace - package org.apache.sling.commons.log.logback.internal.stacktrace
org.apache.sling.commons.log.logback.internal.store - package org.apache.sling.commons.log.logback.internal.store
org.apache.sling.commons.log.logback.internal.util - package org.apache.sling.commons.log.logback.internal.util
org.apache.sling.commons.log.logback.spi - package org.apache.sling.commons.log.logback.spi
org.apache.sling.commons.log.logback.store - package org.apache.sling.commons.log.logback.store
  Provides programatic access to logging events
org.apache.sling.commons.log.logback.webconsole - package org.apache.sling.commons.log.logback.webconsole
  Provides configuration support for the Logback based logging in Sling
OsgiAction - Class in org.apache.sling.commons.log.logback
  Joran action enabling integration between OSGi and Logback.
OsgiAction() - Constructor for class org.apache.sling.commons.log.logback.OsgiAction
OsgiAppenderRefAction - Class in org.apache.sling.commons.log.logback
  Joran action enabling integration between OSGi and Logback.
OsgiAppenderRefAction() - Constructor for class org.apache.sling.commons.log.logback.OsgiAppenderRefAction
OsgiAppenderRefModel - Class in org.apache.sling.commons.log.logback.internal.joran
  Model for the appender-ref-osgi element
OsgiAppenderRefModel() - Constructor for class org.apache.sling.commons.log.logback.internal.joran.OsgiAppenderRefModel
OSGiAwareExceptionHandling - Class in org.apache.sling.commons.log.logback.internal.stacktrace
  Extend EnsureExceptionHandling to add extra OSGi bundle info to the lines in the stack trace output
OSGiAwareExceptionHandling(PackageInfoCollector) - Constructor for class org.apache.sling.commons.log.logback.internal.stacktrace.OSGiAwareExceptionHandling
  Constructor
OsgiModel - Class in org.apache.sling.commons.log.logback.internal.joran
  Model for the osgi element
OsgiModel() - Constructor for class org.apache.sling.commons.log.logback.internal.joran.OsgiModel
OsgiModelHandler - Class in org.apache.sling.commons.log.logback.internal.joran
  Handler for the OsgiModel model class
OsgiModelHandler(Context) - Constructor for class org.apache.sling.commons.log.logback.internal.joran.OsgiModelHandler
  Constructor

## P

PackageInfoCollector - Class in org.apache.sling.commons.log.logback.internal.stacktrace
  WeavingHook to keep track of which bundle contains the java package for each woven class
PackageInfoCollector() - Constructor for class org.apache.sling.commons.log.logback.internal.stacktrace.PackageInfoCollector
PARAM_APPENDER_NAME - Static variable in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  Request param name for appender name
PARAM_TAIL_GREP - Static variable in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  Request param capturing the regular expression to search
PARAM_TAIL_NUM_OF_LINES - Static variable in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  Request param name to control number of lines to include in the log
PATH_TAILER - Static variable in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  Let the path end with extension.
prettyPrint(InputSource) - Static method in class org.apache.sling.commons.log.logback.internal.util.XmlUtil
  Return a pretty string representation of the xml supplied
printInCaseOfErrorsOrWarnings(Context, long, long, boolean) - Static method in class org.apache.sling.commons.log.logback.internal.util.SlingStatusPrinter
  Based on StatusPrinter. printInCaseOfErrorsOrWarnings.
process(Context, Converter<ILoggingEvent>) - Method in class org.apache.sling.commons.log.logback.internal.stacktrace.OSGiAwareExceptionHandling

## R

removeListener(LogEntryListener) - Method in class org.apache.sling.commons.log.logback.internal.store.LogStoreImpl
render(PrintWriter, String) - Method in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  Renders the logging configuration details to the supplied print writer
RES_LOC - Static variable in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  The base location for UI resources

## S

setLogWriter(LogWriter) - Method in class org.apache.sling.commons.log.logback.internal.util.SlingRollingFileAppender
  Set the LogWriter config associated with this appender
setMaxEntries(int) - Method in class org.apache.sling.commons.log.logback.internal.store.LogStoreImpl
setRef(String) - Method in class org.apache.sling.commons.log.logback.internal.joran.OsgiAppenderRefModel
  Set the appender ref name
size() - Method in class org.apache.sling.commons.log.logback.internal.stacktrace.PackageInfoCollector
  Returns the number of packages that have been encountered
SlingContextUtil - Class in org.apache.sling.commons.log.logback.internal.util
  Custom util such that origin can be customized
SlingContextUtil(Context, Object) - Constructor for class org.apache.sling.commons.log.logback.internal.util.SlingContextUtil
  Constructor
SlingRollingFileAppender<E> - Class in org.apache.sling.commons.log.logback.internal.util
  Custom class to allow the SlingLogPanel to differentiate between default appenders and Sling config based appenders
SlingRollingFileAppender() - Constructor for class org.apache.sling.commons.log.logback.internal.util.SlingRollingFileAppender
SlingStatusPrinter - Class in org.apache.sling.commons.log.logback.internal.util
  Custom StatusPrinter similar to Logback StatusPrinter to account for changes required for SLING-3410
start(BundleContext) - Method in class org.apache.sling.commons.log.logback.internal.embed.EmbeddedBundleActivator
start(BundleContext, LogConfigManager) - Method in class org.apache.sling.commons.log.logback.internal.config.ConfigAdminSupport
  Register the configurable logging services
start(BundleContext) - Method in class org.apache.sling.commons.log.logback.internal.store.LogStoreRegistrar
stop() - Method in class org.apache.sling.commons.log.logback.internal.config.ConfigAdminSupport
  Unregister the configurable logging services
stop() - Method in class org.apache.sling.commons.log.logback.internal.store.LogStoreRegistrar

## T

tail(PrintWriter, String, TailerOptions) - Method in interface org.apache.sling.commons.log.logback.webconsole.LogPanel
  Tails the content of the given appender to the supplied print writer
tailAll() - Method in class org.apache.sling.commons.log.logback.webconsole.TailerOptions
  Returns if all lines should be included
TailerOptions - Class in org.apache.sling.commons.log.logback.webconsole
  Encapsulates the options for tailing a log file
TailerOptions(int, String) - Constructor for class org.apache.sling.commons.log.logback.webconsole.TailerOptions
  Constructor
threadName() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns the value of the `threadName` record component.
throwableClassName() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns the value of the `throwableClassName` record component.
throwableMessage() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns the value of the `throwableMessage` record component.
throwableText() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns the value of the `throwableText` record component.
timeMillis() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns the value of the `timeMillis` record component.
toString() - Method in record class org.apache.sling.commons.log.logback.store.LogEntry
  Returns a string representation of this record class.
TRACE - Enum constant in enum class org.apache.sling.commons.log.logback.store.LogLevel

## U

ungetService(Bundle, ServiceRegistration<S>, S) - Method in class org.apache.sling.commons.log.logback.internal.config.ConfigurationServiceFactory
  Unget the service for the supplied registration.
updated(String, Dictionary<String, ?>) - Method in class org.apache.sling.commons.log.logback.internal.config.LoggerManagedServiceFactory
  Update the logger configuration for the supplied configuration service
updated(Dictionary<String, ?>) - Method in class org.apache.sling.commons.log.logback.internal.config.GlobalConfigurator
  Update the global configuration with the supplied configuration
Util - Class in org.apache.sling.commons.log.logback.internal.util
  General utilities

## V

validPreconditions(SaxEventInterpretationContext, String, Attributes) - Method in class org.apache.sling.commons.log.logback.OsgiAppenderRefAction
  Validate preconditions of this action.
valueOf(String) - Static method in enum class org.apache.sling.commons.log.logback.store.LogLevel
  Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.apache.sling.commons.log.logback.store.LogLevel
  Returns an array containing the constants of this enum class, in the order they are declared.

## W

WARN - Enum constant in enum class org.apache.sling.commons.log.logback.store.LogLevel
weave(WovenClass) - Method in class org.apache.sling.commons.log.logback.internal.stacktrace.PackageInfoCollector

## X

XmlUtil - Class in org.apache.sling.commons.log.logback.internal.util
  Utilities to help processing XML

A B C D E F G H I J L M O P R S T U V W X
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form