RE: Setting up logging - Log4j

2003-02-12 Thread Shapira, Yoav
Howdy, I'm looking at Log4j but I be a newbie and the docs I'm finding are not that helpfull... If you have a choice, I would go with Java 1.4 and use the built-in logging facilities. It is easier to use and more powerful in many ways. You can find info about this on java.sun.com. Hahahaha

RE: Setting up logging - Log4j

2003-02-12 Thread pqin
Users List Subject: Re: Setting up logging - Log4j On Tue, 2003-02-11 at 14:27, tomcat guy wrote: Would anyone be so kind to point me in the right direction for setting up some logging for servlets running on Tomcat? I'm looking at Log4j but I be a newbie and the docs I'm finding

Re: Setting up logging - Log4j

2003-02-12 Thread tomcat guy
: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 12, 2003 8:33 AM Subject: RE: Setting up logging - Log4j If that's the case, I would recommend commons-logging as it supports jdk and log4j. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He

RE: Setting up logging - Log4j

2003-02-12 Thread Robert Priest
http://jakarta.apache.org/log4j/docs/documentation.html http://www.vipan.com/htdocs/log4jhelp.html -Original Message- From: tomcat guy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 1:38 PM To: Tomcat Users List Subject: Re: Setting up logging - Log4j Thanks all... I've

RE: Setting up logging - Log4j

2003-02-12 Thread Shapira, Yoav
Howdy, So the general consensus is Log4j over jdk1.4 logging including commons-logging so in the future when we upgrade and/or switch loggers it will be easier? Does anyone have experience with both Log4j jdk1.4-loggin??? I do. I had to experiment with JDK 1.4 logging just to see what it's

Re: Setting up logging - Log4j

2003-02-12 Thread Erik Price
Robert Priest wrote: So the general consensus is Log4j over jdk1.4 logging including commons-logging so in the future when we upgrade and/or switch loggers it will be easier? Hmmm... I heard one person speak out against commons-logging because it is a class loader hack, which appears to

Re: Setting up logging - Log4j

2003-02-11 Thread Joe Tomcat
On Tue, 2003-02-11 at 14:27, tomcat guy wrote: Would anyone be so kind to point me in the right direction for setting up some logging for servlets running on Tomcat? I'm looking at Log4j but I be a newbie and the docs I'm finding are not that helpfull... If you have a choice, I would go

Re: Setting up logging - Log4j

2003-02-11 Thread tomcat guy
] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 09, 2003 5:04 PM Subject: Re: Setting up logging - Log4j On Tue, 2003-02-11 at 14:27, tomcat guy wrote: Would anyone be so kind to point me in the right direction for setting up some logging for servlets running on Tomcat? I'm looking

Re: Setting up logging - Log4j

2003-02-11 Thread Will Hartung
Log 4J isn't overly difficult. Here's some tips: Create a log4j.properties file. Here's a sample: - # Set root category priority to DEBUG and its only appender to A1. log4j.rootCategory=DEBUG, A1 # Print only messages of priority INFO or above in the class your.app.ClassName

Re: Setting up logging - Log4j

2003-02-11 Thread Jacob Kjome
List [EMAIL PROTECTED] Sent: Sunday, February 09, 2003 5:04 PM Subject: Re: Setting up logging - Log4j On Tue, 2003-02-11 at 14:27, tomcat guy wrote: Would anyone be so kind to point me in the right direction for setting up some logging for servlets running on Tomcat? I'm looking at Log4j

Re: Setting up logging - Log4j

2003-02-11 Thread Larry Meadors
This thread has already pointed this out indirectly, but I will go ahead and say it directly - you may want to consider the commons-logging API for your logging so that if (when?) you change logging implementation later you do not have to touch every class that does logging. The commons logging

Re: Setting up logging - Log4j

2003-02-11 Thread Jacob Kjome
I only have one thing to say about commons-logging... http://qos.ch/logging/thinkAgain.html Jake At 10:19 PM 2/11/2003 -0700, you wrote: This thread has already pointed this out indirectly, but I will go ahead and say it directly - you may want to consider the commons-logging API for your

Re: Setting up logging - Log4j

2003-02-11 Thread Bill Barker
Joe Tomcat [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 2003-02-11 at 14:27, tomcat guy wrote: Would anyone be so kind to point me in the right direction for setting up some logging for servlets running on Tomcat? I'm looking at Log4j but I be a

Re: Setting up logging - Log4j

2003-02-11 Thread Bill Barker
As much as I respect Ceki, I do think that there is a place for commons-logging. It does provide a nice transition platform when you are switching out of JDK1.4-logging, because you were brain-dead at the time you chose it ;-). It is also very useful for people writing commercial re-distributed