--

Hi Mike,

you can set the outputstreams by calling

        System.setOut(myoutputstream);

or
        
        System.setErr(myoutputstream);

to any outputstream you want, escpecially to different
files by different servlets.

hope that helps,
Thomas

--
Thomas Landgraf, Dipl. Inform.
Dr. Materna GmbH       Tel: +49 (0)231 5599-578  
44141 Dortmund         Fax: +49 (0)231 5599-574
Voßkuhle 37            Abteilung IS-Projekte


> -----Ursprüngliche Nachricht-----
> Von:  Michael Lee [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Montag, 5. Juli 1999 07:11
> An:   Java Apache Users
> Betreff:      Servlet Logging and Debuging
> 
> --
> 
> hi all
> 
> I was wondering when debugging a servlet is it possible for each servlet
> to produce its owner log..
> 
> eg. When using system.err.println() statement it always goes to
> error_log ...
> 
> Is it possible for each servlet System.err.println() to go to separate
> logs...
> 
> thanks in advance
> 
> mike
> 
> 
> 
> --
> --------------------------------------------------------------
> 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]


--
--------------------------------------------------------------
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