Reduce some logging of connect/disconnect
This commit is contained in:
parent
6974b9b885
commit
67f0e3007e
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user