LogKit 1.0b4 Released --------------------- The Avalon team is proud to announce the 1.0b4 beta release of LogKit. About Avalon ------------ The Avalon project is Apache's Java Server Framework. It is separated into six sub projects: Framework, Excalibur, LogKit, Cornerstone, Phoenix, and Testlet. Its purpose is to simplify server side programming for Java based projects. It formalizes serveral best of breed practices and patterns for server side programming. For more information about Avalon, please go to http://jakarta.apache.org/avalon About LogKit 1.0b4 ------------------ LogKit is an easy to use logging toolkit designed for secure performance orientated logging. It's design encourages integration into existing products with minimal impact. For more information about LogKit 1.0b4, please go to http://jakarta.apache.org/avalon/logkit ChangeLog for LogKit 1.0b4 *) Added ContextMap, updated whitepaper to describe the feature. Deprecated ContextStack in the process as it encouraged bad practices and has been supersceded by ContextMap. [PD] *) Added ExtendedPatternFormatter to allow log messages to be formatted with caller method and thread ids. [PD] *) Fixed bug in OutputStreamLogger so that it does not append a '\n' at end of stream. [PD] *) Added Target SafeFileTarget that opens file and then closes file each time a log entry is written. [PD] *) Added basic unit tests for the logkit formatters, stream and file output targets, priority and logTarget inheritance and utility code. [PD] *) Rework existing logtargets so that they are thread safe, perform better error management and improve usability. Old style targets have been deprecated as have any "unsafe" methods. [PD] *) Added extra constructor to PatternFormatter so that format string is specified at construction time. Deprecated no arguements constructor and setFormat() method. [PD] *) Added StackIntrospector class that is amalgamation of utility code supplied by Stuart Roebuck ([EMAIL PROTECTED]) and Sylvain Wallez ([EMAIL PROTECTED]). [PD] *) Right justified fields are cropped on the left. ie [%-20.20{context}] changes from outputting "[org.apache.log.forma]" to "[mat.PatternFormatter]". [SR] *) Made Hierarchy.log() deal gracefully with a null exception parameter. [PD] *) Added stylesheet to convert Stylebook markup to DocBook markup. [BL] *) Deprecated AvalonFormatter and created a new Formatter inside Avalon project. [BL] *) Changed the documentation build process to use Cocoon to build the site. [BL] *) Deprecated FilterTarget it was rarely (never?) used and offers only minor advantages over directly using sub-classes. [PD] *) Added XMLFormatter to enable writing logs in XML format. [PD] *) Made priority serializable. [PD] Downloads for LogKit 1.0b4 available at http://jakarta.apache.org/builds/jakarta-avalon/release/logkit/latest -- Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*
