How to enable logging correctly in Tomcat 5.5?

2007-12-05 Thread Dmitry S. Kravchenko
Hi! I'm switched to Tomcat 5.5 from Tomcat 4 and now I cant understand, how to enable logging. I want the following thins to be logged: 1) Invalid URLs 2) my exceptions, 3) test printouts and etc. How to do it? I have tried to place logger directive within host tag within server.xml file. I h

Why there are no logs?

2007-11-29 Thread Dmitry S. Kravchenko
Hi! What's wrong with the following configuration tag in Server.xml ** ** I have no test02* logs in /var/log/tomcat5 directory, only catalina* and localhost* logs. W

RE: users Digest 5 Jul 2006 18:31:02 -0000 Issue 6578

2006-07-05 Thread Dmitry S. Kravchenko
Sorry. Of course, my context tag has the swallowOutput turned into true. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

swallowOutput woks bad

2006-07-05 Thread Dmitry S. Kravchenko
Hi! I have servlet, that logs it's debugging information to System.out Now I found, that all data from all webapps goes to one log file in /var/log/.. file. I decide to redirect System.out to separate log file of an application, but fails. I have add these lines to server.xml:

RE: How one can use different versions of classes on differenet webapps

2006-06-18 Thread Dmitry S. Kravchenko
Mark Thomas wrote: >> It seems to me, that we meet some interferention here. We got an exception >> about some signature: > Looks like you need to re-compile you servlets with the new version of > the library. But this is the question: I don't want to recompile servlets with new version of the l

How one can use different versions of classes on differenet webapps

2006-06-15 Thread Dmitry S. Kravchenko
Hi! We have some library, that we use in our web applications. We put jars of this library into WEB-INF/lib directory of each application. But the library is in permanently development, so we have new and new versions of it every several months. Sometimes it is not backward compatible. So we need

Default servlet

2006-05-08 Thread Dmitry S. Kravchenko
Hi! How can I configure existance of default servlet? This servlet, as I can see, allows me to use following mappings default /res/* See, that I don't want to write this servlet by my own, it should already exist somewhere in the Tomcat. Thnx. Dims. ---