Enabling NCSA loggin

If you want to view all the Http requests that your application server is handling then you can enable the NCSA log. This might be useful in case of clustered environment to see which server is actually handling particular request or you might be interested in looking at who is accessing the server at what time, load on the server during particular time

You can enable the National Center for Supercomputing Application(NCSA) using WAS Admin Console. Follow these steps

  • Log into the WAs ADMIn console

  • Go to the Servers -> Application Server. Select the server where you want to turn the NCSA log on. On the server details page click on HTTP error and NCSA access logging



  • On the "HTTP error and NCSA access logging" page, check the Enable access logging and Enable Service at startup check boxes. ALso set the Error log level

  • Now go back to the Application server details page, and go to Web Container transportation chain -> WCInboundDefault ->HTTP Inbound channel. Check the Enable access and error logging check box

  • Save your changes and restart the application server.

  • Now when you access the Application server every request would be logged in http_access.log file in the log folder of your application server.



This is sample log in my http_access.log file on websphere portal server

192.168.163.129 - - [26/May/2009:17:49:20 -0700] "GET /wps/portal HTTP/1.1" 200 16671
192.168.163.129 - - [26/May/2009:17:49:46 -0700] "POST /wps/portal/!ut/p/c5/04_SB8K8xLLM9MSSzPy8xBz9CP0os3hnd0cPE3MfAwN3cyNTAyM_02AjX8cwAwNfQ_1wkA6zeAMcwNFA388jPzdVvyA7rxwAZPfmsg!!/dl3/d3/L0lDUWtpQ1NTUW9LVVFBISEvb0lvZ0FFQ1FRREdJUXBURE9DNEpuQSEhLzRDd2lSLXJmbTE2SWt5WGlnRUEhLzdfQ0dBSDQ3TDAwRzcyNTAyTjVTMk1BVjAwRTQvd3BzLnBvcnRsZXRzLmxvZ2lu/ HTTP/1.1" 302 5
192.168.163.129 - - [26/May/2009:17:49:54 -0700] "GET /wps/myportal/!ut/p/c5/0wcA1NLTeQ!!/ HTTP/1.1" 200 49479
192.168.163.129 - - [26/May/2009:17:49:59 -0700] "GET /searchfeed/myserver/scopes?locale=en&customLinks=true&timeStamp=1243385067143 HTTP/1.1" 200 925
192.168.163.129 - - [26/May/2009:18:37:28 -0700] "GET /wps/themes/html/Portal/colors/default/menu_selected_disabled.gif HTTP/1.1" 200 825
192.168.163.129 - - [26/May/2009:18:37:28 -0700] "GET /wps/themes/html/Portal/colors/default/menu_selected.gif HTTP/1.1" 200 57

6 comments:

Unknown said...

Hi,
I am using WAS7 and looking to get login and logout user ID info for WAS console and I see your post it says how to enable National Center for Supercomputing Applications. but I don't find this option for any of jvm(NCSA access).

Unknown said...
This comment has been removed by the author.
srjwebsolutions said...


We are leading responsive website designing and development company in Noida.
We are offering mobile friendly responsive website designing, website development, e-commerce website, seo service and sem services in Noida.

Responsive Website Designing Company in Noida
Website Designing Company in Noida
SEO Services in Noida
SMO Services in Noida

Genxsoft said...

Egmedi.com is online medical store pharmacy in laxmi nagar Delhi. You can Order prescription/OTC medicines online.
Cash on Delivery available. Free Home Delivery


Online Pharmacy in Delhi
Buy Online medicine in Delhi
Online Pharmacy in laxmi nagar
Buy Online medicine in laxmi nagar
Onine Medical Store in Delhi
Online Medical store in laxmi nagar
Online medicine store in delhi
online medicine store in laxmi nagar
Purchase Medicine Online
Online Pharmacy India
Online Medical Store

BatteryMantra No. 1online battery store said...

Battery Mantra is Authorized exide car battery dealer in Noida and Greater Noida. We are providing our service in Indirapuram, Delhi, Ashok Nagar.

Exide Battery Dealer in Noida
Battery Dealer in Noida
Authorized Battery Dealer in Noida
Car Battery Dealer in Noida
Car Battery Dealer
Exide Battery Dealer

Abhi said...

Thanks for info....
ERP Solutions