Http_access.log on WebSphere 6.1.0.29
I am running WebSphere 6.1.0.29 and I need to monitor the requests going to the Enterprise Application. I used to do this by routing requests through a proxy, but I need to repeat the exercise and I believe there should be an easier way.
Does anyone know how to enable HTTP access logging?
I went through the console and thought that I enabled http_access.log and http_error.log via:
Application Servers> server1> HTTP Error and NCSA Access Registration
(where "server1" is the application server)
I enabled the service at startup and checked the boxes to enable access logging and error logging - however ... nothing happened. I restarted the server, restarted the Enterprise apps, and even did "find. -Name" for the log files, but they don't seem to be found anywhere on the system.
I've seen on the JavaRanch thread, someone suggested writing a custom filter for in-app queries, but that seems like a wild overkill - plus I'm doing logs to test a pre-built binary so I don't want to mess with the code.
Anyone have any ideas / suggestions?
Help!: -)
a source to share
This should work for you.
You did this (relative to the HTTP channel)
After you configure the HTTP error log and NCSA access log, make sure the Enable NCSA access logging checkbox is selected for the HTTP protocols you want to log for. To view the settings for the HTTP channel, go to Servers> Application Servers> Server> Web Container Transport Chains> HTTP Inbound Channel.
Look at this for reference:
NTN Manglu
a source to share