Summary
Logging is an essential part of any application, small or large. While sometimes ignored in small applications, using a good logging service can save hours of development time by helping debug developing applications and helping to isolate problems in deployed production applications. Logging becomes even more important when using distributed programming, since a problem could originate in one application tier and not be discovered until later execution on another tier. Using logging trace can help isolate these problems quickly.
This chapter demonstrated two choices that are available to Java developers: the log4j package from Jakarta Apache, or the Sun Java logging package that has been added to JDK 1.4 ( java.util.logging). Both packages ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access