http-insomniac ( -- ) - Factor Documentation (original) (raw)

http-insomniac ( -- )

Vocabulary
http.server

Word description
Starts a thread which rotates the logs and e-mails a summary of HTTP requests every 24 hours. See Automated log analysis.

Definition

USING: logging.insomniac ;

IN: http.server

: http-insomniac ( -- )
"http.server" { "httpd-hit" } schedule-insomniac ;