I couldn't get this to work either. I know of two ways around it.
1) Throw a ServletException. This will be terminate your servlet and print
to iPlanet's error log. The "Error Log" page under the Status tab of the
the management tool.
2) Print to a file somewhere on disk.
Number 2 is preferable cause it allows you to continue on while recording
errors...
Albert
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Jarec
Basham
Sent: Monday, July 17, 2000 10:41 AM
To: [EMAIL PROTECTED]
Subject: Servlet Debugging
We are trying to debug a servlet and have tried putting in
System.out.println and System.err.println calls but we can't figure where
they are being written to. Does anyone know which log file these are sent
to. We are running NAS (iPlanet).
Jarec
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html