java.util.logging package with a
rolling log file handler, a pattern formatter and a logged
status report.See: Description
| Interface | Description |
|---|---|
| StatusReporter |
Implement this interface when you want an object to append
its information to the status report.
|
| Class | Description |
|---|---|
| CalendarFileHandler |
Logs messages to a user-specified file, rolling over to a
new file at midnight.
|
| NullHandler |
This handler quietly does nothing with the given log records.
|
| PatternFormatter |
Formats
LogRecords using printf-like
format specifiers. |
| StatusReport |
Writes a status report to a log at a specified
interval.
|
| Enum | Description |
|---|---|
| StatusReport.ReportFrequency |
Enumerates the allowed status report frequencies:
FIVE_MINUTE: generate a report every five minutes on
the five minute.
|
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.
Copyright © 2020. All rights reserved.