From 902a86e6fdcdfc6b8dc89353b1da7faf8e181739 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 29 Jun 2023 09:33:26 +0200 Subject: [PATCH] Delay UDP connect until first log event emission #293 --- .../biz/paluch/logging/gelf/intern/sender/GelfUDPSender.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/biz/paluch/logging/gelf/intern/sender/GelfUDPSender.java b/src/main/java/biz/paluch/logging/gelf/intern/sender/GelfUDPSender.java index f0f98df9..ecf41ab7 100644 --- a/src/main/java/biz/paluch/logging/gelf/intern/sender/GelfUDPSender.java +++ b/src/main/java/biz/paluch/logging/gelf/intern/sender/GelfUDPSender.java @@ -35,7 +35,6 @@ protected ByteBuffer initialValue() { public GelfUDPSender(String host, int port, ErrorReporter errorReporter) throws IOException { super(errorReporter, host, port); - connect(); } public boolean sendMessage(GelfMessage message) {