Re: System out and System err
On Fri, 16 Mar 2001, Ben Galbraith wrote: > I spent some time fooling with logs before I realized that if you override: > > Servlet.init(ServletConfig config) > > you must call this somewhere in your new init() method: > > super.init(config) > > otherwise the servlet container's logs don't get turned on. > > This is one of the main reasons that the init() method -- without any parameters -- was added. That way, you don't get caught by this very common mistake, which usually also leads to NullPointerException problems. Craig McClanahan
Re: System out and System err
I spent some time fooling with logs before I realized that if you override: Servlet.init(ServletConfig config) you must call this somewhere in your new init() method: super.init(config) otherwise the servlet container's logs don't get turned on.
Re: System out and System err
On Thu, 15 Mar 2001, Jeff Finley wrote: > Where are the outputs for these going in Tomcat 4.01beta? I cannot find them in any >logs! Please help, need it to debug a servlet. > Check the file "catalina.out" in your logs directory. > Jeff Finley > No Technologies Inc. > Just Doing it because, NY 000501 > Craig McClanahan
Re: System out and System err
Found the doc on the jakarta site, thank you. - Original Message - From: Jeff Finley Sent: Thursday, March 15, 2001 11:34 PM To: TomcatUsers Subject: Re: System out and System err Thank you sir, now if I could just figure out what that meant! Hahahaha, I'm really new to Tomcat, 2 day babe in fact. Can you steer me to a doc on it? - Original Message - From: Gary Lawrence Murphy Sent: Thursday, March 15, 2001 11:28 PM To: [EMAIL PROTECTED] Subject: Re: System out and System err >>>>> "J" == Jeff Finley <[EMAIL PROTECTED]> writes: J> Where are the outputs for these going in Tomcat 4.01beta? I J> cannot find them in any logs! Please help, need it to debug a J> servlet.Bad choice. IMHO, you should be using org.apache.log4j--Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications IncBusiness Innovations Through Open Source Systems: http://www.teledyn.com"Computers are useless. They can only give you answers."(Pablo Picasso)
Re: System out and System err
Thank you sir, now if I could just figure out what that meant! Hahahaha, I'm really new to Tomcat, 2 day babe in fact. Can you steer me to a doc on it? - Original Message - From: Gary Lawrence Murphy Sent: Thursday, March 15, 2001 11:28 PM To: [EMAIL PROTECTED] Subject: Re: System out and System err >>>>> "J" == Jeff Finley <[EMAIL PROTECTED]> writes: J> Where are the outputs for these going in Tomcat 4.01beta? I J> cannot find them in any logs! Please help, need it to debug a J> servlet.Bad choice. IMHO, you should be using org.apache.log4j--Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications IncBusiness Innovations Through Open Source Systems: http://www.teledyn.com"Computers are useless. They can only give you answers."(Pablo Picasso)
Re: System out and System err
> "J" == Jeff Finley <[EMAIL PROTECTED]> writes: J> Where are the outputs for these going in Tomcat 4.01beta? I J> cannot find them in any logs! Please help, need it to debug a J> servlet. Bad choice. IMHO, you should be using org.apache.log4j -- Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc Business Innovations Through Open Source Systems: http://www.teledyn.com "Computers are useless. They can only give you answers."(Pablo Picasso)
System out and System err
Where are the outputs for these going in Tomcat 4.01beta? I cannot find them in any logs! Please help, need it to debug a servlet.Jeff FinleyNo Technologies Inc.Just Doing it because, NY 000501