From 67f0e3007e349734068172b0eaab689ef02cd779 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 9 Sep 2024 23:49:04 +1000 Subject: [PATCH] Reduce some logging of connect/disconnect --- app/Classes/Sock/SocketClient.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Classes/Sock/SocketClient.php b/app/Classes/Sock/SocketClient.php index 4b01a2a..d7f8829 100644 --- a/app/Classes/Sock/SocketClient.php +++ b/app/Classes/Sock/SocketClient.php @@ -127,7 +127,7 @@ final class SocketClient { $this->address_remote = $src; $this->port_remote = Arr::get($src_port,1); - Log::info(sprintf('%s:! HAPROXY src [%s:%d] dst [%s:%d]', + Log::debug(sprintf('%s:- HAPROXY src [%s:%d] dst [%s:%d]', self::LOGKEY, $this->address_remote, $this->port_remote, @@ -136,7 +136,7 @@ final class SocketClient { )); } - Log::info(sprintf('%s:+ Connection host [%s] on port [%d] (%s)',self::LOGKEY,$this->address_remote,$this->port_remote,$this->type)); + Log::debug(sprintf('%s:+ Connection host [%s] on port [%d] (%s)',self::LOGKEY,$this->address_remote,$this->port_remote,$this->type)); } } @@ -352,7 +352,7 @@ final class SocketClient { Log::error(sprintf('%s:! Closing socket [%s]',self::LOGKEY,$e->getMessage())); } - Log::info(sprintf('%s:= Connection closed with [%s]',self::LOGKEY,$this->address_remote)); + Log::debug(sprintf('%s:= Connection closed with [%s]',self::LOGKEY,$this->address_remote)); } /**