Reduce some logging of connect/disconnect
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 44s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m52s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s

This commit is contained in:
Deon George 2024-09-09 23:49:04 +10:00
parent 6974b9b885
commit 67f0e3007e

View File

@ -127,7 +127,7 @@ final class SocketClient {
$this->address_remote = $src; $this->address_remote = $src;
$this->port_remote = Arr::get($src_port,1); $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, self::LOGKEY,
$this->address_remote, $this->address_remote,
$this->port_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::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));
} }
/** /**