Handbook
Glossary
schedule-insomniac ( service word-names -- )
Automated log analysis
Prev:
email-log-report ( service word-names -- )
Vocabulary
logging
.
insomniac
Inputs
service
a log service name
word-names
a sequence of strings
Outputs
None
Word description
Starts a thread which e-mails a log report immediately and then daily. File reports respect
log-report-limit
. Logs are rotated after each attempt, including when reporting fails.
Definition
USING:
calendar
kernel
logging.insomniac.private
timers
;
IN:
logging.insomniac
:
schedule-insomniac
( service word-names -- )
[
[
email-log-report
]
with-log-rotation
]
2curry
1
days
every
drop
;