Hi,

>$CATALINA_HOME/logs/cacophonix_access_log.<date> has this consistent
>message :
>192.168.100.8 -- [<date/time stamp>] "POST
>saysit/servlet/RemotedemoServer HTTP/1.1" 500 3919

This is standard ACCESS log format.  It's sometimes useful for
debugging, too.  I wouldn't call this "cryptic" at all ;)  It's a well
defined, easy to understand, common pattern.

>catalina.out has more info, but only those that I embed in the
>java-programs for System.out.println.

True.  So you could use more System.out / System.err statements.

>How do I get more debug info out of the log files ?

Look in your server.xml file.  Everywhere you see debug="0" turn it to
debug="99".  Restart tomcat and run your tests.  You should now have
ample information in tomcat's server and host logs to debug any
tomcat-related issues.

In your apps, you can log with various degrees of sophistication.
System.out / System.err is a place to start.  You can use the servlet
context log (getServletContext.log() calls) as well.  But best of all,
get and use a real logging system like log4j.

Yoav Shapira
Millennium ChemInformatics
This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to