This tutorial is about Javas built-in logging API in the
java.util.logging package. The
tutorial explains how to add logging to your Java applications using this API, how to configure it etc.
It does not cover what you should log, though. What information to log is up to you, depending
on what information you need.
The version of the Java logging API covered is the version found in Java 6.
Note: This tutorial does not cover the other popular Java logging API's
(Log4J, SLF4J, Apache Commons Logging, LogBack etc.). It only covers Java's built-in logging API,
If you can choose your own logging API freely, you may choose one of these other, popular logging API's instead of
However, if you are running your
web applications on Google App Engine, like I do, then you have to use the
Table of Contents
Here is a list of the topics covered in this Java logging trail. This list (menu) is also present at the top right of every page in the trail.
|Java Logging Tutorial|
|Java Logging Introduction|
Feel Free to Contact Me
If you disagree with anything I write here about the Java logging tutorial, or just have comments, questions, etc, feel free to send me an email. You wouldn't be the first to do so. You can find my email address on the about page.