Skip to content

Commit 4cc8e79

Browse files
ps48Alekhya Parisha
authored andcommitted
fix log warnings for HTTP server instanced source names (opensearch-project#5689)
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
1 parent c416459 commit 4cc8e79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • data-prepper-plugins/http-common/src/main/java/org/opensearch/dataprepper/plugins/server

data-prepper-plugins/http-common/src/main/java/org/opensearch/dataprepper/plugins/server/CreateServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ public Server createHTTPServer(final Buffer<Record<Log>> buffer, final Certifica
167167
)
168168
);
169169
} else {
170-
LOG.warn("Creating http source without SSL/TLS. This is not secure.");
171-
LOG.warn("In order to set up TLS for the http source, go here: https://github.com/opensearch-project/data-prepper/tree/main/data-prepper-plugins/http-source#ssl");
170+
LOG.warn("Creating " + sourceName + " without SSL/TLS. This is not secure.");
171+
LOG.warn("In order to set up TLS for the " + sourceName + ", go here: https://github.com/opensearch-project/data-prepper/tree/main/data-prepper-plugins/http-source#ssl");
172172
sb.http(serverConfiguration.getPort());
173173
}
174174

0 commit comments

Comments
 (0)