You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nik Makepeace <ni...@clmp.com> on 2001/02/02 10:16:27 UTC

System.err going to screen

I have set up Tomcat 3.2.1 with Apache and am serving servlets fine 
from it, but there is one problem:  

I can't get the servlet output to System.err to go to a log file.  
Instead of going to the file specified in server.xml thus:  

<Logger name="servlet_log" 
           path="/var/log/tomcat/servlet.log"
  verbosityLevel="DEBUG" />

FWIW, the directory exists, is writable by root, and servlet.log has 
entries relating to which servlets were initialised.  What happens 
though, is all System.err gets written to the screen.  

Can anyone help?

Nik