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