Fisherman110 commented on PR #1099:
URL: https://github.com/apache/tomcat/pull/1099#issuecomment-6360339170

   > I think you missed the point of the original issue. What was being 
discussed was extending the RequestInfoServlet (in the examples) and possibly 
snoop.jsp (also in the examples) to provide at least the information request in 
the BZ and optionally provide the ability to request in in HTML or JSON.
   
   I haven't make it clear in my previous description, my bad.
   
   Yes, i do notice they are discussing some servlets to verify valves. And I 
don't agree the idea of verifing configurations by servlet or jsp files. I 
think print confiurations in log is a better way to check working valves (those 
valves working in tomcat).
   
   Begainers new to tomcat  tend to have problems with valves, they may make 
mistakes or edit the wrong configuration files. For example, someone edits port 
in source directory without build the project. They can't reach the target 
servlet or jsp file as they get wrong with context or port, whereas the 
catalina log is always avaliable as long as tomcat startup. Besides, a line in 
log is also a cheap way for pros and developers to check their configuration. 
As reading log is common for tomcat admin or contributors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to