From 58321fd2fae3a22deaf5e0005bc88e59916501fb Mon Sep 17 00:00:00 2001 From: Rabi Panda Date: Mon, 22 Mar 2021 16:49:38 -0700 Subject: [PATCH] Fix checkstyle issue. (#448) Signed-off-by: Rabi Panda --- .../org/opensearch/common/logging/OpenSearchJsonLayout.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/common/logging/OpenSearchJsonLayout.java b/server/src/main/java/org/opensearch/common/logging/OpenSearchJsonLayout.java index 71cd1ee0ce2..ab663e26cfd 100644 --- a/server/src/main/java/org/opensearch/common/logging/OpenSearchJsonLayout.java +++ b/server/src/main/java/org/opensearch/common/logging/OpenSearchJsonLayout.java @@ -61,7 +61,9 @@ import java.util.stream.Stream; * *

* It is possible to add more or override them with opensearchmessagefield - * appender.logger.layout.opensearchmessagefields=message,took,took_millis,total_hits,types,stats,search_type,total_shards,source,id + * + * appender.logger.layout.opensearchmessagefields=message,took,took_millis,total_hits,types,stats,search_type,total_shards,source,id + * * Each of these will be expanded into a json field with a value taken {@link OpenSearchLogMessage} field. In the example above * ... "message": %OpenSearchMessageField{message}, "took": %OpenSearchMessageField{took} ... * the message passed to a logger will be overriden with a value from %OpenSearchMessageField{message}