Does anyone have a means for logging to messages to the jserv.log file.


As I understand it:
HttpServlet extends GenericServlet which implements ServletConfig which has
getServletContext() which has log().

my init method is the following and my JServ logging uses jserv.log:

public void init(ServletConfig sc) throws ServletException
{
   super.init(sc);
   sc.getServletContext().log("Initializing Servlet...");
}

When I run the servlet I cant get any logging.

Can anyone help on this one???


-Eric






Eric Grace 
Software Developer 
[EMAIL PROTECTED] 

MessageMedia, Inc. - The leading source of e-messaging services for
building customer 
relationships online. 



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to