The java.util.logging Package

In an effort to extend the utility of the Java development environment and to address some of its shortcomings, a logging package has been added to the JDK as of version 1.4. This package, while not as feature rich as the log4j package, does provide some flexibility and features that create a foundation for application logging. The core classes and interfaces in this package are listed in Table 13-1.

As you might expect, there are similarities between the this logging package and the log4j logging package. Both packages have a Logger class to provide basic logging control and a Level class to indicate the level or priority of the logging message. But where the log4j package has an Appender class to provide for the ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.