Log PID created on a connection to help match the source address in logging
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 50s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m52s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-09-09 23:34:42 +10:00
parent 5d9d8ed72a
commit 6974b9b885

View File

@ -259,7 +259,7 @@ abstract class Protocol
throw new SocketException(SocketException::CANT_ACCEPT,'Could not fork process'); throw new SocketException(SocketException::CANT_ACCEPT,'Could not fork process');
if ($pid) if ($pid)
Log::debug(sprintf('%s:+ New connection, thread [%d] created',self::LOGKEY,$pid)); Log::info(sprintf('%s:+ New connection from [%s], thread [%d] created',self::LOGKEY,$client->address_remote,$pid));
// Parent return ready for next connection // Parent return ready for next connection
return $pid; return $pid;