Hello,

i try to disable stack trace on my tomcat 7.52 server, i found on the doc that i can do it by configure an errorReportValve class and put showError attribute to false.

so i add this line in the good part of server.xml

<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false" />

but it get also the stack trace on server 500 errors.

i do something wrong ?

ps :

i lok quickly the code of the class and it seems that it don't test these attributes showReport and showserverinfo.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to