Synopses & Reviews
Synopsis
In development scenarios where things can't be run in a debugger, or when you run the risk of masking the problem, logs are the greatest source of information about running a program. Pro Apache Log4j, Second Edition provides best practices guidelines and comprehensive coverage of the most recent release.
Step by step, the book explains core concepts, from basic to advanced. Code samples are in Java and include guidelines for different application-specific needs. You?ll also learn how to extend the API to write custom components and best practices for using the feature-rich log4j API. This book concludes with enterprise Java applications using log4j with JSP and J2EE. Table of Contents Introduction to Application Logging Understanding Apache log4j Destination of Logging?The Appender Objects Formatting Logging Information in log4j Filtering, Error Handling, and Special Rendering of Log Messages Extending log4j to Create Custom Logging Components Complete log4j Example Log4j and J2EE Using the Apache Log Tag Library Best Practices and Looking Forward to 1.3
Synopsis
This book covers in detail the most popular Java-based Logging API named Apache Log4j. This book is based on the most recent release version 1.2.9. The book includes a step-by-step approach in explaining the concepts from the very basics to the advanced concepts. Apart from explaining in details the architecture of the API and it use; this book also shows how to extend the API to write custom components.
It also describes the best practices involved in using this feature rich log4j API. This book finally also provides a comparison with the other popular JDK Logging API bundled with JDK itself.