Package org.opensearch.common.logging
package org.opensearch.common.logging
Base logger package.
-
ClassDescriptionA logger message used by
DeprecationLogger
.A logger that logs deprecation notices.This is a simplistic logger that adds warning messages to HTTP headers.Appends warnings to the headerOutputs the Throwable portion of the LoggingEvent as a Json formatted field with array "exception": [ "stacktrace", "lines", "as", "array", "elements" ]Configures the loggerA set of utilities around Logging.Pattern converter to format the node_and_cluster_id variable into JSON fieldsnode.id
andcluster.uuid
.TheNodeAndClusterIdStateListener
listens to cluster state changes and ONLY when receives the first update it sets the clusterUUID and nodeID in log4j pattern converterNodeAndClusterIdConverter
.Converts%node_name
in log4j patterns into the current node name.Formats log events as strings in a json format.OpenSearchJsonLayout.Builder<B extends OpenSearchJsonLayout.Builder<B>>Builder for a json layoutA base class for custom log4j logger messages.Pattern converter to populate OpenSearchMessageField in a pattern.Filter that is rate limitingLevels for the slow logs