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 forServiceLoader
Required forServiceLoader
.
-
-
Method Details
-
configKey
Deprecated.Description copied from interface:ObserveProvider
Configuration 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:
configKey
in interfaceConfiguredProvider<Observer>
- Specified by:
configKey
in interfaceObserveProvider
- Returns:
- configuration key of this provider (such as
health
)
-
create
Deprecated.Description copied from interface:ObserveProvider
Create a new observer from the provided configuration.- Specified by:
create
in interfaceConfiguredProvider<Observer>
- Specified by:
create
in interfaceObserveProvider
- Parameters:
config
- configuration of this providername
- name of the instance- Returns:
- a new observer to be registered with routing
-
ServiceLoader