{"timestamp":"2026-01-26 09:48:08","level":"INFO","message":"Server started","data":{"api":"SLM Framework API v1.0.0","port":3000,"environment":"development","hotReload":"enabled (automatic)","nodeVersion":"v18.20.8","elasticsearch":"http://elasticsearch:9200","index":"slm-app-dev"},"pid":53}
{"timestamp":"2026-01-26 09:48:08","level":"INFO","message":"Starting memory monitor","data":{"type":"MEMORY_MONITOR_START","intervalSeconds":300,"thresholdPercent":80,"criticalPercent":90,"emailAlertsEnabled":false},"pid":53}
{"timestamp":"2026-01-26 09:48:08","level":"INFO","message":"Memory metrics","data":{"type":"MEMORY_METRICS","heapUsedMB":14,"heapTotalMB":22,"heapPercentage":65,"status":"healthy"},"pid":53}
{"timestamp":"2026-01-26 09:50:05","level":"HTTP","message":"GET /health","data":{"method":"GET","path":"/health","status":200,"duration":"4ms","ip":"::ffff:172.18.0.1","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"},"pid":53}
{"timestamp":"2026-01-26 09:50:05","level":"INFO","message":"Endpoints reloaded","data":{"routeCount":11,"timestamp":1769405972213},"pid":53}
{"timestamp":"2026-01-26 09:50:05","level":"WARNING","message":"Endpoint not found","data":{"method":"GET","path":"/favicon.ico","ip":"::ffff:172.18.0.1"},"pid":53}
{"timestamp":"2026-01-26 09:50:05","level":"HTTP","message":"GET /favicon.ico","data":{"method":"GET","path":"/favicon.ico","status":404,"duration":"14ms","ip":"::ffff:172.18.0.1","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"},"pid":53}
{"timestamp":"2026-01-26 09:51:24","level":"HTTP","message":"GET /v1/status","data":{"method":"GET","path":"/v1/status","status":200,"duration":"13ms","ip":"::ffff:172.18.0.1","userAgent":"curl/8.16.0"},"pid":53}
{"timestamp":"2026-01-26 09:57:44","level":"HTTP","message":"GET /health","data":{"method":"GET","path":"/health","status":200,"duration":"2ms","ip":"::ffff:172.18.0.1","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"},"pid":53}
{"timestamp":"2026-01-26 09:58:03","level":"HTTP","message":"GET /v1/status","data":{"method":"GET","path":"/v1/status","status":200,"duration":"7ms","ip":"::ffff:172.18.0.1","userAgent":"curl/8.16.0"},"pid":53}
{"timestamp":"2026-01-26 09:58:37","level":"INFO","message":"SIGTERM signal received: closing HTTP server","pid":53}
{"timestamp":"2026-01-26 09:58:37","level":"INFO","message":"Memory monitor stopped","data":{"type":"MEMORY_MONITOR_STOP"},"pid":53}
{"timestamp":"2026-01-26 09:58:41","level":"INFO","message":"Server started","data":{"api":"SLM Framework API v1.0.0","port":3000,"environment":"development","hotReload":"enabled (automatic)","nodeVersion":"v18.20.8","elasticsearch":"http://elasticsearch:9200","index":"slm-app-dev"},"pid":41}
{"timestamp":"2026-01-26 09:58:41","level":"INFO","message":"Starting memory monitor","data":{"type":"MEMORY_MONITOR_START","intervalSeconds":300,"thresholdPercent":80,"criticalPercent":90,"emailAlertsEnabled":true},"pid":41}
{"timestamp":"2026-01-26 09:58:41","level":"INFO","message":"Memory metrics","data":{"type":"MEMORY_METRICS","heapUsedMB":14,"heapTotalMB":22,"heapPercentage":66,"status":"healthy"},"pid":41}
{"timestamp":"2026-01-26 10:03:41","level":"WARNING","message":"Memory warning - high heap usage","data":{"type":"MEMORY_WARNING","heapUsedMB":12,"heapTotalMB":14,"heapPercentage":84,"rssMB":63,"externalMB":3,"uptimeHours":0,"recommendation":"Consider creating a heap snapshot: GET /debug/heap-snapshot"},"pid":41}
{"timestamp":"2026-01-26 10:03:41","level":"INFO","message":"Email transporter created","data":{"type":"EMAIL_TRANSPORTER","host":"mailhog","port":1025,"secure":false},"pid":41}
{"timestamp":"2026-01-26 10:03:41","level":"INFO","message":"Email sent successfully","data":{"type":"EMAIL_SENT","to":"admin@slm-framework.local","subject":"[WARNING] Memory Alert - SLM Framework API","messageId":"<9deb8ea3-0009-7ad3-f467-f0b8de08ffa0@slm-framework.local>"},"pid":41}
{"timestamp":"2026-01-26 10:03:41","level":"INFO","message":"Memory alert email sent","data":{"type":"MEMORY_ALERT_EMAIL","level":"warning","to":"admin@slm-framework.local"},"pid":41}
{"timestamp":"2026-01-26 10:06:39","level":"INFO","message":"Endpoints reloaded","data":{"routeCount":11,"timestamp":1769405972213},"pid":41}
{"timestamp":"2026-01-26 10:06:39","level":"WARNING","message":"Endpoint not found","data":{"method":"GET","path":"/debug/gc","ip":"::ffff:172.18.0.1"},"pid":41}
{"timestamp":"2026-01-26 10:06:39","level":"HTTP","message":"GET /debug/gc","data":{"method":"GET","path":"/debug/gc","status":404,"duration":"18ms","ip":"::ffff:172.18.0.1","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36"},"pid":41}
{"timestamp":"2026-01-26 10:08:41","level":"INFO","message":"Email sent successfully","data":{"type":"EMAIL_SENT","to":"admin@slm-framework.local","subject":"[CRITICAL] Memory Alert - SLM Framework API","messageId":"<d895e14c-8571-6d04-29dc-f7553456a5a3@slm-framework.local>"},"pid":41}
{"timestamp":"2026-01-26 10:08:41","level":"INFO","message":"Memory alert email sent","data":{"type":"MEMORY_ALERT_EMAIL","level":"critical","to":"admin@slm-framework.local"},"pid":41}
{"timestamp":"2026-01-26 10:11:54","level":"INFO","message":"SIGTERM signal received: closing HTTP server","pid":41}
{"timestamp":"2026-01-26 10:11:54","level":"INFO","message":"Memory monitor stopped","data":{"type":"MEMORY_MONITOR_STOP"},"pid":41}
