feat(logging): add DEBUG/INFO/WARN logging across services (NCS-72) #41

Merged
Janis merged 2 commits from feat/NCS-72 into main 2026-05-02 17:33:28 +02:00

2 Commits

Author SHA1 Message Date
Janis 4850b23e19 feat(logging): deepen coordinator and core logging (NCS-72)
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>
2026-05-02 17:25:51 +02:00
Janis b3aab9efd5 feat(logging): add DEBUG/INFO/WARN logging across services (NCS-72)
Add org.jboss.logging.Logger to AccountService, BotRegistry,
BotEventResource, InstanceRegistry, GameRedisSubscriberManager,
GameRedisPublisher, GameWebSocketResource, UserWebSocketResource.
Replace System.err.println with structured log.warnf in
GameRedisSubscriberManager. Silent exception swallow in
InstanceRegistry now emits WARN.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-05-02 16:35:51 +02:00