Daemon - exceptionChecker

 

Description

The ExceptionChecker daemon scans the log file for new exceptions/assertions.  All new exceptions/assertions are extracted into a temporary file, and then a copy of the file is emailed to a user specified in the configuration variables.
 

Configuration Variables

hoursBack
A number that represents the number of hours that an exception/assertion entry will be considered new.  If an exception/assertion entry has a date that is newer than the data generated from this variable then it is extracted. Default is 1 hour.

minutesBack

A number of minutes that will be added to the hour variable in order to create a date by which entries are checked. Default is 0 minutes (added to the default 1 hour).

mailExceptionsTo

An email address where a copy of the extracted entries file will be mailed.
 

How it works

The ExceptionChecker daemon creates a date based upon the configuration variables.  A method called exceptionFilter contained in the Alarm class is then called.  All filtering is performed in the Alarm class.  When the method call returns a temporary file has been created which contains the extracted entries.  The daemon then emails a copy of the file to the address provided in the configuration variables.

First Available: Build 24

Revised 11/19/97