Hi

There's a sample initialization servlet in http://jakarta.apache.org/log4j/docs/manual.html. It runs when tomcat is started and there is no need to initialize log4j for every servlet. I guess it should also work for jsps.

Regards,
Winz

From: "Abid Ali Teepo" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Log4j initalized in each JSP ??
Date: Thu, 17 Jul 2003 14:33:06 +0200

Hi

I've set up some logging for my main servlet, and it appears to be working good. Now i need to set up logging for the JSP's in my application, and i'm a little bit confused .... because i don't think i should be initializing and defining my logger for each jsp-page ?? That sunds a bit overkill .... anyone have suggestions as to how i can organize it .... and what code should go in each jsp ? Maybe some pointers ?

Regards
Abid

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


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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



Reply via email to