O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required