Package org.ops4j.pax.logging.spi.support
This package may be Private-Packaged by particular pax-logging backends (thus doing a copy), so
common functionality (like implementation of
LogReaderService)
is kept in one place. This package should not be exported.
Even default/fallback logger is here (to be Private-Packaged by backends), because there's no
requirement to have singleton instance of DefaultServiceLog.-
Interface Summary Interface Description ConfigurationNotifier Interface for backends that want to inform about configuration changes (usually after Configuration Admin update which happens over multiple, hard to synchronize threads). -
Class Summary Class Description BackendSupport Some helper methods for backends (Log4J2, Logback) to share common internal classes.BufferingLog Experimental fallback strategy for non-availability.BundleHelper DefaultServiceLog This Logger will be used when the Pax Logging Service is not (yet) available.EventAdminConfigurationNotifier EventAdminTracker This ServiceTracker is designed to implement the Event Admin service, but delegate to the actual service if available.FallbackLogFactory This factory creates the fallback strategy when Pax Logging Service is not (yet) available.FileServiceLog DefaultServiceLogthat writes to configured file - useful for integration tests but also for Karaf if you don't want to miss single log message.FormattingTriple Extension of Slf4J's class that helps with messages containing placeholders{}.FrameworkHandler One instance of this class will be registered to listen for events generated by the OSGi framework and pass those events to log service.LogEntryImpl LogReaderServiceImpl Implementation of standardLogReaderServicerequired by OSGi Compendium R6 "101.4 Log Reader Service".OsgiUtil PaxAppenderProxy AServiceTrackerused by bridges specific to given backend.RegisteredService<S,T> Class keeping both the service and it'sServiceRegistration