Interface ElasticsearchRequestLog
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
ElasticsearchRequestLog_$logger
@MessageLogger(projectCode="HSEARCH")
public interface ElasticsearchRequestLog
extends org.jboss.logging.BasicLogger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis is the category of the Logger used to print out executed Elasticsearch requests, along with the execution time.static final ElasticsearchRequestLog -
Method Summary
Modifier and TypeMethodDescriptionvoidexecutedRequest(String method, String host, String path, Map<String, String> getParameters, int bodyParts, long timeInMs, int responseStatusCode, String responseStatusMessage, String requestBodyParts, String responseBody) voidexecutedRequestWithFailure(String method, String host, String path, Map<String, String> getParameters, int bodyParts, long timeInMs, int responseStatusCode, String responseStatusMessage, String requestBodyParts, String responseBody) Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
-
Field Details
-
CATEGORY_NAME
This is the category of the Logger used to print out executed Elasticsearch requests, along with the execution time.To enable the logger, the category needs to be enabled at TRACE level.
- See Also:
-
INSTANCE
-
-
Method Details
-
executedRequestWithFailure
@LogMessage(level=DEBUG) @Message(id=400082, value="Executed Elasticsearch HTTP %s request to '%s' with path '%s', query parameters %s and %d objects in payload in %dms. Response had status %d '%s'. Request body: <%s>. Response body: <%s>") void executedRequestWithFailure(String method, String host, String path, Map<String, String> getParameters, int bodyParts, long timeInMs, int responseStatusCode, String responseStatusMessage, String requestBodyParts, String responseBody) -
executedRequest
@LogMessage(level=TRACE) @Message(id=400093, value="Executed Elasticsearch HTTP %s request to '%s' with path '%s', query parameters %s and %d objects in payload in %dms. Response had status %d '%s'. Request body: <%s>. Response body: <%s>") void executedRequest(String method, String host, String path, Map<String, String> getParameters, int bodyParts, long timeInMs, int responseStatusCode, String responseStatusMessage, String requestBodyParts, String responseBody)
-