}
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
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
-
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
--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
-
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
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
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
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
8 matches
Mail list logo