> Why does the taglib need to use log4j for logging?  The ServletContext
> already supports logging which is configurable by the servlet container.
>

All of my taglibs use log4j for logging. The problem I find with
Servletcontext.log() is that it's usually not as configurable as log4j
(SMTPAppender is my friend) and can't legally be accessed from other tiers
of your application such as clients or EJBs. Using log4j across the app
provides a central point of logging.

My $0.02.

-mike


Reply via email to