snaq.util.logging
Class DBPoolLegacyFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by java.util.logging.SimpleFormatter
          extended by snaq.util.logging.TerseFormatter
              extended by snaq.util.logging.DBPoolLegacyFormatter

public class DBPoolLegacyFormatter
extends TerseFormatter

Implementation of a simple single-line log Formatter for use with the Java Logging API. It formats similarly to the logs of pre-5.0 versions of DBPool, and is to help maintain some degree of backwards-compatibility and ease of transition for upgraders who aren't very good with change.

In a Java Logging configuration properties file:

     <handler>.formatter=snaq.util.logging.DBPoolLegacyFormatter
 

Note: this class will probably be removed in a future release, and is here only to make the transition to the new logging framework a bit smoother.

Author:
Giles Winstanley

Constructor Summary
DBPoolLegacyFormatter()
           
 
Method Summary
 
Methods inherited from class snaq.util.logging.TerseFormatter
format, getDateFormat, setDateFormat, setSeparator
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBPoolLegacyFormatter

public DBPoolLegacyFormatter()