RE: simple use of log4j with tdk

2003-03-12 Thread Shapira, Yoav
jewski [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 12, 2003 1:00 PM >To: [EMAIL PROTECTED] >Subject: simple use of log4j with tdk > >Hello, > >I'm trying to use log4j with the sample turbine app - I'm not sure where to >post this question so I apologize if this

simple use of log4j with tdk

2003-03-12 Thread Luke Majewski
Hello, I'm trying to use log4j with the sample turbine app - I'm not sure where to post this question so I apologize if this is not the best place. I've looked at some samples in the manual as well as in the "scarab" app that turbine uses for its examples. So in my code I do: static Logger log

RE: Use of Log4J

2002-04-18 Thread Ashish Kulkarni
hi there, Thanx for the suggestion i was able to make my intranet site run with an initilizing servlet which has DOMConfigurator.configure("MapsLog4J.xml"); in init method Ashish --- Raúl_Carazo <[EMAIL PROTECTED]> wrote: > I have a servlet with this line > DOMConfigurator.configure("MapsL

RE: Use of Log4J

2002-04-18 Thread Ashish Kulkarni
Hi Can u please send me your servlet code, and also the code of the class in which u use it in future. Ashish --- Raúl_Carazo <[EMAIL PROTECTED]> wrote: > I have a servlet with this line > DOMConfigurator.configure("MapsLog4J.xml"); > and I call it once. Then, I can use it or every > class.

RE: Use of Log4J

2002-04-18 Thread Raúl Carazo
I have a servlet with this line DOMConfigurator.configure("MapsLog4J.xml"); and I call it once. Then, I can use it or every class... Tell me if it works... Salve Raúl Carazo -- To unsubscribe, e-mail: For additional commands, e-mail:

Use of Log4J

2002-04-18 Thread Ashish Kulkarni
Hi, I have use Log4J in developing my intranet site, I have a few questions, I will be using XML configuration file, so do i have to add these following lines in each servlet, bean i would be developing protected Logger logger = null; DOMConfigurator.configure("MapsLog4J.xml"); logger = Logger.get

Re: use of log4j in a web app

2001-07-16 Thread William Jaynes
AIL PROTECTED]> To: "'LOG4J Users Mailing List'" <[EMAIL PROTECTED]> Sent: Monday, July 16, 2001 12:55 PM Subject: RE: use of log4j in a web app > >>*Too bad the default initialization process doesn't look for a log4j.xml > >>file! I'd rat

RE: use of log4j in a web app

2001-07-16 Thread Carolyn Wasikowski
>>*Too bad the default initialization process doesn't look for a log4j.xml >>file! I'd rather use an XML file over a Java properties file, and it would >>be possible to do so if I could set the log4j.configuration system property, >>but from what I've been told you can't set a system property ins

RE: use of log4j in a web app

2001-07-12 Thread Ceki Gülcü
At 15:07 12.07.2001 -0700, Carolyn Wasikowski wrote: >Thanks to all who responded to my questions! Yes, I had read the section of >http://jakarta.apache.org/log4j/docs/manual.html that describes the default >initialization approach... but apparently I hadn't read it closely enough to >realize it

RE: use of log4j in a web app

2001-07-12 Thread Carolyn Wasikowski
Thanks to all who responded to my questions! Yes, I had read the section of http://jakarta.apache.org/log4j/docs/manual.html that describes the default initialization approach... but apparently I hadn't read it closely enough to realize its full potential. I've converted my log4j.xml file to a l

Re: use of log4j in a web app

2001-07-12 Thread William Jaynes
> > First: when should I configure Log4J? My Log4J experience, unfortunately, > far outweighs my JSP/servlet experience, but I'm guessing that all I need to > do is use a DOMConfigurator within the init() method of the first servlet > that gets loaded. (The web app's web.xml specifically reques

Re: use of log4j in a web app

2001-07-11 Thread Robert Leftwich
At 10:13 AM 12/07/2001, Carolyn Wasikowski wrote: >First: when should I configure Log4J? My Log4J experience, unfortunately, >far outweighs my JSP/servlet experience, but I'm guessing that all I need to >do is use a DOMConfigurator within the init() method of the first servlet >that gets loaded

use of log4j in a web app

2001-07-11 Thread Carolyn Wasikowski
While on my last project, I used Log4J and grew to love it. I also learned the importance of configuring Log4J before making any logging requests. In standalone Java apps, for example, I use a DOMConfigurator within main(). Now on a new project, I'm tasked with integrating Log4J into an existin