Package org.archive.crawler.reporting
Class AlertHandler
java.lang.Object
java.util.logging.Handler
org.archive.crawler.reporting.AlertHandler
Stub Handler, catching and relaying WARNING/SEVERE events to
AlertThreadGroup.
- Author:
- pjack, gojomo
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
Constructor Details
-
AlertHandler
public AlertHandler()
-
-
Method Details
-
close
- Specified by:
close
in classHandler
- Throws:
SecurityException
-
flush
public void flush() -
publish
Pass record to AlertThreadGroup. -
ensureStaticInitialization
public static void ensureStaticInitialization()Simply to ensure static initialization (installing catchall handler on topmost logger) is run.
-