I think at least for Tomcat 4, it depends on what platform you are running
on. I noticed that on UNIX it gets redirected to catalina.out, but, on
Windows it just gets displayed to the screen.

Jon

----- Original Message -----
From: "Abhijat Thakur" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 13, 2001 9:20 PM
Subject: System.err.println


> Hi,
>
> I have gone through the archives and have looked at the original responses
> and tried it but my System.err.println does not go to /logs/tomcat.log. I
am
> using log4j for logging but at some place have to put System.err.println
> statements which i want should be printed to tomcat logs.
>
> I have made modifications to server.xml and it has
>
> <Logger name="tc_log"
>             verbosityLevel = "INFORMATION"
>              path="logs/tomcat.log"
>     />
>
>     <Logger name="servlet_log"
>             path="logs/servlet.log"
>             verbosityLevel = "DEBUG"
>     />
>
>     <Logger name="JASPER_LOG"
>     path="logs/jasper.log"
>         verbosityLevel = "INFORMATION" />
>
> The three are files are made under logs but my System.err.println messages
> dont go there. Please advise.
>
> Thanks a lot.
>
>
> Abhijat Thakur
>
> bDNA Corporation
>

Reply via email to