----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
You should understand that Tomcat is under construction.
The logging issue will change with new releases.
Regards
Clemens Viehl
> -----Original Message-----
> From: Crook, Charles [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 09, 2000 5:04 PM
> To: 'Java Apache Users'
> Subject: RE: Servlet log in Tomcat vs Jserv
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> and even:
>
> ServletContext context = getServletContext();
> context.log( "Snoop start - ServletContext.log" ) ;
>
> shows up in the java window.
>
> Looking through the web.dtd and server.dtd, there doesn't
> seem to be a way
> to specify the logging parameters in the xml files; is there
> an entry that
> can be added in tomcat.conf?
>
>
> -----Original Message-----
> From: Crook, Charles [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 09, 2000 10:01 AM
> To: 'Java Apache Users'
> Subject: RE: Servlet log in Tomcat vs Jserv
>
> For instance, add the following into SnoopServlet
>
> System.out.println( "Snoop start - System.out" ) ;
> System.err.println( "Snoop start - System.err" ) ;
>
> Both messages show up in the java window, not in apache's log
>
> > ----------------------------------------------------------------
> > Under W98, apache 139, jdk 122, jsdk 2.0 and Jserv 1.0, writing to
> > system.err from a servlet shows up in apache's error log file
> >
> > Using that same servlet's source under W98, apache 139, jdk 122 and
> > tomcat,
> > the output shows up in the separate DOS window ( the java
> session running
> > Tomcat ).
> >
> > Is there a syntax that should be put in web.xml for each context to
> > specify
> > the log location?
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]