# SerpentRace Backend Logs # Started: 2025-09-15T13:59:00.196Z # Max entries per file: 10000 2025-09-15T13:59:01.866Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"} 2025-09-15T13:59:01.880Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T13:59:01.880Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}} 2025-09-15T13:59:02.699Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"} 2025-09-15T13:59:02.704Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30} 2025-09-15T13:59:02.706Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"} 2025-09-15T13:59:02.709Z | [STARTUP] | Redis client connected successfully 2025-09-15T13:59:13.315Z | [REQUEST] | Incoming request | ReqId:7t55k5c5a | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 2025-09-15T13:59:13.318Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:7t55k5c5a | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 2025-09-15T13:59:13.326Z | [AUTH] | Authentication successful | ReqId:7t55k5c5a | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""} 2025-09-15T13:59:13.328Z | [REQUEST] | Update deck endpoint accessed | ReqId:7t55k5c5a | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]} 2025-09-15T13:59:13.347Z | [ERROR] | Deck not found with ID: 956870b1-c437-4591-98b3-0742dd63b77d 2025-09-15T13:59:13.354Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} 2025-09-15T13:59:13.356Z | [ERROR] | Update deck endpoint error | ReqId:7t55k5c5a | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:20:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"} 2025-09-15T13:59:13.360Z | [REQUEST] | Request completed | ReqId:7t55k5c5a | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:404 | Time:45ms | UA:PostmanRuntime/7.45.0