Package org.elasticsearch.common.logging
package org.elasticsearch.common.logging
-
Class SummaryClassDescriptionPattern converter to format the cluster_id variable into JSON fields
cluster.id.A logger message used byDeprecationLogger.A logger that logs deprecation notices.Formats log events as strings in a json format.ESJsonLayout.Builder<B extends ESJsonLayout.Builder<B>>A base class for custom log4j logger messages.Pattern converter to populate ESMessageField in a pattern.This is a simplistic logger that adds warning messages to HTTP headers.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 stringFormat string for Elasticsearch log messages.A set of utilities around Logging.Pattern converter to format the node_and_cluster_id variable into JSON fieldsnode.idandcluster.uuid.TheNodeAndClusterIdStateListenerlistens to cluster state changes and ONLY when receives the first update it sets the clusterUUID and nodeID in log4j pattern converterNodeAndClusterIdConverter.Pattern converter to format the node_id variable into JSON fieldsnode.id.Converts%node_namein log4j patterns into the current node name. -
Enum Class SummaryEnum ClassDescriptionDeprecation log messages are categorised so that consumers of the logs can easily aggregate them.