feat(logging): deepen coordinator and core logging (NCS-72)
Build & Test (NowChessSystems) TeamCity build failed
Build & Test (NowChessSystems) TeamCity build failed
Coordinator: InstanceRegistry logs instance join/update/dead/remove; CoordinatorGrpcServer logs new stream + first heartbeat per instance; CoreGrpcClient logs channel open/evict and RPC success counts. Core: GameResource replaces println with logger; RedisGameRegistry logs store/Redis-load/DB-load and surfaces silent failures; CoordinatorServiceHandler logs inbound gRPC commands; IoGrpcClientWrapper and RuleSetGrpcAdapter wrap gRPC calls with WARN on failure. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -64,6 +64,6 @@ class BotEventResource:
|
||||
): Response =
|
||||
val playerId = Option(jwt.getSubject).getOrElse("")
|
||||
log.debugf("Bot move %s in game %s by player %s", uci, gameId, playerId)
|
||||
val moveMsg = s"""{"type":"MOVE","uci":"$uci","playerId":"$playerId"}"""
|
||||
val moveMsg = s"""{"type":"MOVE","uci":"$uci","playerId":"$playerId"}"""
|
||||
redis.pubsub(classOf[String]).publish(s"${redisConfig.prefix}:game:$gameId:c2s", moveMsg)
|
||||
Response.ok().build()
|
||||
|
||||
Reference in New Issue
Block a user