This commit is contained in:
2025-09-21 16:53:55 +02:00
parent 1cf8066cf3
commit 016b5632e1
7 changed files with 118 additions and 15 deletions
@@ -0,0 +1,18 @@
# SerpentRace Backend Logs
# Started: 2025-09-19T09:19:08.808Z
# Max entries per file: 10000
2025-09-19T09:19:11.638Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
2025-09-19T09:19:11.675Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-19T09:19:11.675Z","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-19T09:19:11.744Z | [STARTUP] | Created Minio bucket: serpentrace-logs
2025-09-19T09:19:12.131Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
2025-09-19T09:19:12.146Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
2025-09-19T09:19:12.167Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
2025-09-19T09:19:12.205Z | [STARTUP] | Redis client connected successfully
2025-09-19T10:19:12.197Z | [DATABASE] | Inactive chats retrieved | Meta:{"query":"findInactiveChats(30min)","executionTime":181,"inactivityMinutes":30,"count":0,"cutoffDate":"2025-09-19T09:49:12.016Z"}
2025-09-19T10:19:12.211Z | [DATABASE] | Chat archive cleanup completed | Meta:{"query":"cleanup(28 days)","executionTime":9,"olderThanDays":28,"deleted":0,"cutoffDate":"2025-08-22T10:19:12.201Z"}
2025-09-19T10:19:12.229Z | [DATABASE] | Chats page retrieved successfully (including deleted) | Meta:{"executionTime":16,"from":0,"to":1000,"returned":0,"totalCount":0}
2025-09-19T10:19:12.233Z | [REQUEST] | Old message cleanup completed | Meta:{"cutoffDate":"2025-08-22T10:19:12.200Z","cleanupWeeks":4,"deletedArchives":0,"deletedChats":0,"note":"Cleanup completed using both ChatRepository and ChatArchiveRepository"}
2025-09-19T10:48:24.426Z | [STARTUP] | Received SIGTERM. Shutting down gracefully...
2025-09-19T10:48:24.440Z | [STARTUP] | HTTP server closed
2025-09-19T10:48:24.457Z | [CONNECTION] | Database connection closed | Meta:{"connectionType":"postgresql","status":"success"}
@@ -0,0 +1,14 @@
# SerpentRace Backend Logs
# Started: 2025-09-21T13:24:36.198Z
# Max entries per file: 10000
2025-09-21T13:24:38.668Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
2025-09-21T13:24:38.689Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-21T13:24:38.689Z","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-21T13:24:39.052Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
2025-09-21T13:24:39.057Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
2025-09-21T13:24:39.065Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
2025-09-21T13:24:39.080Z | [STARTUP] | Redis client connected successfully
2025-09-21T14:18:22.748Z | [ERROR] | Redis connection error | Meta:{"name":"Error","message":"Socket closed unexpectedly","stack":"Error: Socket closed unexpectedly\n at Socket.<anonymous> (/app/node_modules/@redis/client/lib/client/socket.ts:272:29)\n at Object.onceWrapper (node:events:639:26)\n at Socket.emit (node:events:524:28)\n at Socket.emit (node:domain:489:12)\n at TCP.<anonymous> (node:net:343:12)"}
2025-09-21T14:18:22.789Z | [STARTUP] | Received SIGTERM. Shutting down gracefully...
2025-09-21T14:18:22.809Z | [STARTUP] | HTTP server closed
2025-09-21T14:18:22.838Z | [CONNECTION] | Database connection closed | Meta:{"connectionType":"postgresql","status":"success"}
@@ -0,0 +1,10 @@
# SerpentRace Backend Logs
# Started: 2025-09-21T14:22:54.794Z
# Max entries per file: 10000
2025-09-21T14:23:13.553Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
2025-09-21T14:23:13.689Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-21T14:23:13.689Z","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-21T14:23:15.180Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
2025-09-21T14:23:15.196Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
2025-09-21T14:23:15.224Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
2025-09-21T14:23:15.275Z | [STARTUP] | Redis client connected successfully