SHARE
Facebook X Pinterest WhatsApp

Ceki Gulcu: log4j version 1.0 released Page 2

Jan 9, 2001
ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More



  - Release of version 1.0 (the 20th public release)
 
  - Package hierarchy now starts at org.apache.log4j. [***]

  - Added the fatal() family of methods to the Category
    class.  Moreoever, the EMERG priority has been removed from the
    Priority class.  This priority has been replaced by the FATAL
    priority that is more widely accepted.  This change will
    require EMERG log statements to be replaced by FATAL log
    statements.  Assuming EMERG log statements are rare, this should
    have a small but bearable impact on existing client code.
 
    Moreover, the Unix Syslog priorities ALERT, CRIT and NOTICE are no
    longer recognized. Support for these priorities was mininal and
    few users should suffer from these changes. [**/***]
 
  - Removed the methods setRootPriority, getRootPriority as these
    methods were redundant and had been previously deprecated. [**]
 
  - Dropped the DOM Level 2 dependency in DOMConfigurator. This makes
    log4j XML configurable using Sun's parser or Apache's Xerces. [*]
 
  - Enhanced the PropertyConfigurator and DOMConfigurator to support
    customization of independent Hierarchies. The
    org.apache.log4j.net.SocketServer has been enhanced to take
    advantage of this functionality. The old code of SocketServer has
    been moved to SimpleSocketServer. [**]
 
  - Enhanced the PropertyConfigurator to support variable substitution
    for all option *values* (but not keys!). [*]
 
  - Categories are now aware of the Hierarchy they are linked to. This
    will provide a basis for several performance enhancements planned
    for the future. [*]
 
  - Added support for object rendering. It is now possible to register
    an object renderer for a given object type. When the given object
    needs to be logged log4j will invoke the corresponding renderer to
    transform the object into a String.
 
    As a result of this enhancement, all the String forms of all the
    printing methods such as debug(String), info(String) have been
    removed as they are no longer necessary. This change should be
    perfectly backward compatible. [*]
 
  - Added support for user defined category factories in the
    PropertyConfigurator. Thus, it is now possible to configure log4j
    with a properties file and still use custom Category
    sub-classes. The DOMConfigurator had already a finer grain
    support. [*]
 
  - Addeed the SMTPAppender that in case of an error or fatal event
    sends an e-mail containing latest N logging events in its buffer,
    where N is chosen by the user. [*]
 
  - Added the method getInstance(Class) to the Category class. [*]
 
  - Corrected a bug in configureAndWatch method of configurators that
    would configure log4j only after an unnecessary delay. [*]
 
Best regards, Ceki Gulcu

Recommended for you...

Data Center Survey 2021: Outages Less Common, More Expensive
Sam Ingalls
Sep 21, 2021
On-Prem Infrastructure is Here to Stay. But What Workloads Go Where?
Sam Ingalls
Jul 3, 2021
IBM’s 2nm Breakthrough: Implications for Chip and Server Makers
Sam Ingalls
Jun 4, 2021
A Tale of Two 3rd Gen Processors: AMD & Intel
Sam Ingalls
May 20, 2021
ServerWatch Logo

ServerWatch is a top resource on servers. Explore the latest news, reviews and guides for server administrators now.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.