Cleaned up logs

This commit is contained in:
nathan 2020-09-14 22:12:42 +02:00
parent 0c7202d00c
commit fb3d2f3f98
2 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ class IpcMediaDriverConnection(override val streamId: Int,
override fun clientInfo() : String {
return if (sessionId != AeronConfig.RESERVED_SESSION_ID_INVALID) {
"[$sessionId] aeron connection established to [$streamIdSubscription|$streamId]"
"[$sessionId] IPC connection established to [$streamIdSubscription|$streamId]"
} else {
"Connecting handshake to IPC [$streamIdSubscription|$streamId]"
}

View File

@ -257,7 +257,7 @@ internal class ServerHandshake<CONNECTION : Connection>(private val logger: KLog
clientConnection.buildServer(aeron, logger)
logger.info {
"[${clientConnection.sessionId}] aeron IPC connection established to $clientConnection"
"[${clientConnection.sessionId}] IPC connection established to [${clientConnection.streamIdSubscription}|${clientConnection.streamId}]"
}
val connection = server.newConnection(ConnectionParams(server, clientConnection, PublicKeyValidationState.VALID))