CHAPTER 9

image

Using the Apache Log Tag Library

One of the many advantages of a powerful logging framework such as Apache log4j is that it is not restricted to any particular application scenario. Apache log4j is a robust and extensible logging framework that can be tailored to any application-specific need. One feature that makes this logging framework so robust is the Log tag library, which is part of the Jakarta Taglibs project.

The Log tag library allows developers to embed log4j-based logging activity within a JavaServer Pages (JSP). In essence, it provides tags pertaining to all the logging levels declared by log4j and uses a configuration ...

Get Pro Apache Log4j, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.