Package net.sf.eBus.util.logging

Supplements java.util.logging package with a rolling log file handler, a pattern formatter and a logged status report.
  • CalendarFileHandler: Extends the StreamHandler class. Places each day's log messages in a separate file, rolling over the log files at midnight. This handler also deletes any existing log files that are older than the specified age limit (in days).
  • PatternFormatter: Extends the Formatter class. Uses printf-like format specifiers to layout how a LogRecord should be formatted.

    The idea for this class came from the Apache Jakarta's Log4j project class org.apache.log4j.PatternLayout but is in no way based on it.

  • StatusReport: Logs an application status report at a specified interval. The report consists of generic system information followed by what each registered StatusReporter appends to the report.