Files
gravl/frontend/test-results/.last-run.json
T
clawd e09017d2e0 feat(08-01): Health monitoring & logging infrastructure
- Set up Winston structured logging with console and file outputs
- Create GET /api/health endpoint with uptime, database status, response times
- Add request logging middleware (method, path, statusCode, duration)
- Create health monitoring module with database connectivity checks
- Log all HTTP requests with timing information
- Log auth events (login, register) and data modifications
- Replace console.log/error with structured logger calls
- Update backend README with logging configuration documentation
- Add tests for health endpoint and logging middleware
- Logs directory: logs/combined.log and logs/error.log

Deliverables met:
✓ Structured logging (Winston) integrated
✓ Enhanced health endpoint with uptime & database info
✓ Request logging middleware attached to all routes
✓ Comprehensive logging documentation in README.md
✓ Tests passing for health and logging functionality
✓ All critical operations logged with context
2026-03-03 21:28:46 +01:00

25 lines
1.0 KiB
JSON

{
"status": "failed",
"failedTests": [
"1cff6d33be29939b74bb-c25666845faaea0ae7fc",
"1cff6d33be29939b74bb-e9e8328cd1d970cad6ea",
"1cff6d33be29939b74bb-2248a6b3e98521a34137",
"1cff6d33be29939b74bb-7e76fffa3f30b98b96d5",
"1cff6d33be29939b74bb-045200a3114dcdff62ad",
"1cff6d33be29939b74bb-0ad6600c1c575c583335",
"1cff6d33be29939b74bb-95bbf51cc82f216f4a28",
"1cff6d33be29939b74bb-9dcf66b8b04cf8e4cad7",
"1cff6d33be29939b74bb-532abd6ac85eb6b633b8",
"1cff6d33be29939b74bb-2bb550a7880ccd26e0d7",
"1cff6d33be29939b74bb-9538d4b31282bda8fd5f",
"1cff6d33be29939b74bb-9b22c2a972679a47a470",
"1cff6d33be29939b74bb-ae7da4d4df1250697906",
"1cff6d33be29939b74bb-2eb19f1ae434fcc0b422",
"1cff6d33be29939b74bb-015b195164adb3714032",
"1cff6d33be29939b74bb-3156b92984b449d99fdd",
"1cff6d33be29939b74bb-38c0c6f62e80517ce0dc",
"c39c7dd450cd069ede52-4036a12ed607ba60ad4c",
"c39c7dd450cd069ede52-61b24ae6caaeb46ff912",
"c39c7dd450cd069ede52-344299ef4ebecfc6ca07"
]
}