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
-
ClassesClassDescriptionRepresents a log entry for an HTTP request.Monitors HTTP requests and dispatches them to active WebSocket monitoring sessions.Monitors HTTP requests, dispatches them to active WebSocket monitoring sessions, and writes them to a daily log file in
log/yyyy-MM-dd-http.log.WebSocket response stream for HTTP request monitoring.Continuously streams HTTP request log entries to a WebSocket.