Package org.elasticsearch.common.logging
-
Class Summary Class Description ClusterIdConverter Pattern converter to format the cluster_id variable into JSON fieldscluster.id
.DeprecatedMessage A logger message used byDeprecationLogger
.DeprecationLogger A logger that logs deprecation notices.ESJsonLayout Formats log events as strings in a json format.ESJsonLayout.Builder<B extends ESJsonLayout.Builder<B>> ESLogMessage A base class for custom log4j logger messages.ESMessageFieldConverter Pattern converter to populate ESMessageField in a pattern.HeaderWarning This is a simplistic logger that adds warning messages to HTTP headers.HeaderWarningAppender JsonThrowablePatternConverter Outputs the Throwable portion of the LoggingEvent as a Json formatted field with array "exception": [ "stacktrace", "lines", "as", "array", "elements" ] Reusing @link org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter which already converts a Throwable from LoggingEvent into a multiline stringLogConfigurator LoggerMessageFormat Format string for Elasticsearch log messages.Loggers A set of utilities around Logging.NodeAndClusterIdConverter Pattern converter to format the node_and_cluster_id variable into JSON fieldsnode.id
andcluster.uuid
.NodeAndClusterIdStateListener TheNodeAndClusterIdStateListener
listens to cluster state changes and ONLY when receives the first update it sets the clusterUUID and nodeID in log4j pattern converterNodeAndClusterIdConverter
.NodeIdConverter Pattern converter to format the node_id variable into JSON fieldsnode.id
.NodeNamePatternConverter Converts%node_name
in log4j patterns into the current node name.RateLimitingFilter -
Enum Summary Enum Description DeprecationCategory Deprecation log messages are categorised so that consumers of the logs can easily aggregate them.