RE: How to use Log4j with a startup logging servlet

2002-01-16 Thread Jenkins, David
} finally { log.debug("exit mymethod"); } } } Dave -Original Message- From: Eric L. Ma [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 16 January 2002 3:58 p.m. To: 'Struts Users Mailing List' Subject: RE: How to use Log4j with a startup logging servlet Tha

RE: How to use Log4j with a startup logging servlet

2002-01-16 Thread Eric L. Ma
up the startup servlet. Eric -Original Message- From: Eric Ma [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 12:33 PM To: [EMAIL PROTECTED] Subject: How to use Log4j with a startup logging servlet I want to use Log4J for logging exceptions thrown in a Struts-based web app

AW: How to use Log4j with a startup logging servlet

2002-01-16 Thread Hudayioglu, Fehmi
- Von: Alex Colic [mailto:[EMAIL PROTECTED]] Gesendet am: Wednesday, January 16, 2002 3:10 PM An: Eric Ma; [EMAIL PROTECTED] Betreff: RE: How to use Log4j with a startup logging servlet Hi, I have used option two. The code for my servlet is below. It works for me. If you have any sugge

RE: How to use Log4j with a startup logging servlet

2002-01-16 Thread Alex Colic
--Original Message- From: Eric Ma [mailto:[EMAIL PROTECTED]] Sent: January 15, 2002 12:33 PM To: [EMAIL PROTECTED] Subject: How to use Log4j with a startup logging servlet I want to use Log4J for logging exceptions thrown in a Struts-based web app. After searching through this list, I foun

RE: How to use Log4j with a startup logging servlet

2002-01-15 Thread Jenkins, David
- From: Eric Ma [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 16 January 2002 6:33 a.m. To: [EMAIL PROTECTED] Subject: How to use Log4j with a startup logging servlet I want to use Log4J for logging exceptions thrown in a Struts-based web app. After searching through this list, I found 2 common soluti

Re: How to use Log4j with a startup logging servlet

2002-01-15 Thread Thomas Eichberger
Hi, I use Log4J, but don't understand your question exactly. I think it's easier than you think;-) In my action classes and servlets and so on I have the usual line: static Category cat = Category.getInstance( SuchAction.class.getName() ); in web.xml I have: log4j-init at.t

RE: How to use Log4j with a startup logging servlet

2002-01-15 Thread McDowell, Mark
objects in the other servlets... Mark -Original Message- From: Eric Ma [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 11:33 AM To: [EMAIL PROTECTED] Subject: How to use Log4j with a startup logging servlet I want to use Log4J for logging exceptions thrown in a Struts-bas

How to use Log4j with a startup logging servlet

2002-01-15 Thread Eric Ma
I want to use Log4J for logging exceptions thrown in a Struts-based web app. After searching through this list, I found 2 common solutions: 1. Extend the Struts ActionServlet and override the init() method to set up a Log4J Category. Then in any custom Action class I can just call servlet.Cat