One thing has been bothering me: those 'if (logMINOR) Logger.minor(...', 
and the mess that logging is inside fred. I've written a very simple 
replacement for Logger + associated classes with the following changes:

- Log level (renamed to severity) filtering is done by Logging.log();
- Specific writer classes are replaced by a simple OutputStream, which 
defaults to System.err. Formatting is also unified;
- Severity cases are broadened (FATAL, ERROR, WARNING, INFO, DEBUG and 
TRACE), MINOR is mapped to DEBUG, and NORMAL is mapped to INFO;
- No logging method accepts an Object parameter - hashCode() is not 
exactly useful.

Additionally, log rotation will be moved outside (possibly inside Node).

Currently, the log format is '<severity>\t<message>'.

Reply via email to