On 13/01/2010 06:37, Bao wrote:
Hi, Our company is using the apache tomcat 6.0.20 as our server. And now I plan to measure the time of every requet processed in the server without the help of any benchmark tool. I plan to modify the code to add a time stamp in a request when it comes into the server and add another time stamp when it go out of server. So with a simple subtraction I can get the time I need. However,I am not familiar with the archive of the source code.So anyone could give me some suggestion of doing this?Like where should I modify in the source code. Thanks!
Look at the code for the AccessLogValve. The SVN repository is listed on tomcat.apache.org.
p
___________________________________________________________ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org