Originally posted by GS Rollen:
How can I log the actual http request (GET /servlet/snoop HTTP/1.0) for
each request handled by WebSphere (I need something similar to an http
access.log). Also if I have a page within a frame which has the meta "refresh" tag set to 60 seconds, will it show a long entry every minute?
Thanks
Wow, I can't believe this issue has not really come up before. Our team likes to see how many times pages within a Websphere application get hit. We are thinking about just writing out to a custom log each time a page is loaded. We use System.Out.println() to log our errors etc. Would prefer a more elegant way, but we will simply try to mimic the apache logs. e.g.
220.148.122.210 - - [21/Nov/2003:14:37:32 -0500] "GET /mydir/index.html HTTP/1.1"
200 9402 "http://www.was.com/" "Mozilla/5.0 (Windows; U; Win 9x 4.9
0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7"
I know we can do it, the question is might there be a better way? Also, is this way efficient enough for pages which display data every 60 seconds.
Thanks
GS