From ffa915ad188b972b24ec21c29094181863bd8a51 Mon Sep 17 00:00:00 2001 From: Pascal Grimaud Date: Sun, 2 Jan 2022 07:37:44 +0100 Subject: [PATCH] Logstash: add suppress warning for configuring loggers --- .../logging/logstash/tcp/src/LogstashTcpLifeCycle.java.mustache | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/generator/server/springboot/logging/logstash/tcp/src/LogstashTcpLifeCycle.java.mustache b/src/main/resources/generator/server/springboot/logging/logstash/tcp/src/LogstashTcpLifeCycle.java.mustache index c4a811aadb3..315abf52ef6 100644 --- a/src/main/resources/generator/server/springboot/logging/logstash/tcp/src/LogstashTcpLifeCycle.java.mustache +++ b/src/main/resources/generator/server/springboot/logging/logstash/tcp/src/LogstashTcpLifeCycle.java.mustache @@ -38,6 +38,7 @@ public class LogstashTcpLifeCycle implements SmartLifecycle { } @Override + @SuppressWarnings("java:S4792") public void start() { log.debug("Adding Logstash TCP appender to {}:{}", properties.getHost(), properties.getPort());