Overview
The Java Logging APIs, introduced in package java.util.logging, facilitate software servicing and maintenance at customer sites by producing log reports suitable for analysis by end users, system administrators, field service engineers, and software development teams. The Logging APIs capture information such as security failures, configuration errors, performance bottlenecks, and/or bugs in the application or platform. The core package includes support for delivering plain text or XML-formatted log records to memory, output streams, consoles, files, and sockets. In addition, the logging APIs are capable of interacting with logging services that already exist on the host operating system.
- Java Logging Overview
- Java Logging API doc
- Changes and New Features in J2SE 5.0
Tutorials
- An Introduction to the Java Logging API (from OnJava)
- Learn all the uses of J2SE 1.4's Logging library (from Oracle)
Code Samples
- Code samples from the Java Developers Almanac 1.4