WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  knowing the appserver that processed the request from the webserver logs

    Posted Wed September 30, 2015 02:03 PM
    Hi,
    is there a way to know the app server that processed the request from the webserver logs.  
    eg:
    10.192.xx.xx - - [30/Sep/2015:11:59:57 -0400] "POST /XXXXXX HTTP/1.1" 200 871 APPserver1

     I mean, adding an custom log format to the webserver that will report the Appserver that processed the request


  • 2.  knowing the appserver that processed the request from the webserver logs

    Posted Tue November 10, 2015 04:49 AM
    you can view from http_access.log 

    profile_name/logs/AppServer/http_access.log

    login_ip  - - [23/Oct/2015:01:34:14 +0300] "GET /AppName/a4j/g/3_3_1.GAorg.richfaces.renderkit.html.GradientA/DATB/eAF7emTy1lIvJgASigOz HTTP/1.1" 200 225  


  • 3.  knowing the appserver that processed the request from the webserver logs

    Posted Thu November 12, 2015 05:41 PM
    yes there is an option that you can use "%{WAS}e" in the LogFormat. 

    It is documented here in the link.  Tip #2.

    www.ibm.com/developerworks/library/co-we...


  • 4.  knowing the appserver that processed the request from the webserver logs

    Posted Mon November 16, 2015 11:09 AM
    [quote author=199473833 post=546814351]yes there is an option that you can use "%{WAS}e" in the LogFormat. 

    It is documented here in the link.  Tip #2.

    www.ibm.com/developerworks/library/co-we...
    [/quote]


    Adding the above option doesnot work, also can you please repost the link, as the link doesnt seem to work.


  • 5.  knowing the appserver that processed the request from the webserver logs



  • 6.  knowing the appserver that processed the request from the webserver logs

    Posted Tue November 17, 2015 12:21 PM
    [quote author=199473833 post=546853143]






    I will make it easy for you, you can see the link and the  tip in the below picture, I tried this and it worked. 


    [/quote]


    Thanks a lot,  It worked.