Package io.helidon.webserver.observe.log
Class LogObserveProvider
java.lang.Object
io.helidon.webserver.observe.log.LogObserveProvider
- All Implemented Interfaces:
ConfiguredProvider<Observer>,ObserveProvider
Deprecated.
ServiceLoader provider implementation for logging observe provider.
Java Util Logging uses weak references to loggers (and does not support adding level configuration to LogManager at runtime), so changing a log level for a logger may be temporary (in case a garbage collector runs and the reference is not kept anywhere). In Helidon, most loggers are referenced for the duration of the application, so this should not impact Helidon components.
-
Constructor Details
-
LogObserveProvider
Deprecated.only forServiceLoaderRequired forServiceLoader.
-
-
Method Details
-
configKey
Deprecated.Description copied from interface:ObserveProviderConfiguration key of this provider. The following keys must be honored by Observe support:enabled- enable/disable the serviceendpoint- endpoint, if starts with/then absolute, otherwise relative to observe endpointcors- CORS setup for this endpoint
- Specified by:
configKeyin interfaceConfiguredProvider<Observer>- Specified by:
configKeyin interfaceObserveProvider- Returns:
- configuration key of this provider (such as
health)
-
create
Deprecated.Description copied from interface:ObserveProviderCreate a new observer from the provided configuration.- Specified by:
createin interfaceConfiguredProvider<Observer>- Specified by:
createin interfaceObserveProvider- Parameters:
config- configuration of this providername- name of the instance- Returns:
- a new observer to be registered with routing
-
ServiceLoader