Package net.targetr.rc.monitoring.logs.http


package net.targetr.rc.monitoring.logs.http
HTTP request log entries, live monitoring and daily log-file output.

HttpRequestMonitor distributes completed HttpRequestLogEntry objects to attached WebSocket sessions. Entries sent to browsers are sanitized when Settings.sanitizeWebMonitoring is enabled. WebSocketHttpRequestMonitor creates the streaming response, whose queue is drained independently of request handling.

HttpRequestMonitorAndLog also queues entries for log/yyyy-MM-dd-http.log, flushing periodically on a background thread and again during JVM shutdown. Entries originate in CommunicationsInterceptor.

Author:
Dr Michael Gardiner