Please forgive me if this has been mentioned before, I don't follow this
list very closely.

I just wondered if it would make sense to have a standard Log4jServlet that
could be used in servlet environments to initialise Log4j. Since its just
one class I'd prefer it to be in the log4j distribution. I've found various
projects I've worked on all write their own - which apart from duplication
of effort, could result in a bad initialisation (e.g. logging messages many
times).

A user of the log4j taglib at jakarta-taglibs has found that
log4j.properties is not found in the WEB-INF/classes directory on Tomcat 3.2
and JRun 3.1 - (have others found this too?) - so rather than asking each
user to write a servlet, having one in log4j.jar that could be added to
web.xml seems to make sense. I could add a servlet to log4j taglib but it
seems like log4j.jar is a better place for such a thing that a taglib that
happens to use log4j.

James





_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to