On Wed, Jun 22, 2011 at 9:29 PM, Afkham Azeez <[email protected]> wrote:

> Good job Pradeeban. Can you demo this tomorrow ?
>
Thank you.
Sure, I will.

Regards,
Pradeeban.

On Jun 22, 2011 5:23 PM, "Kathiravelu Pradeeban" <[email protected]> wrote:
> > Hi,
> > We have implemented httpd style logs (that is identical to the access
> logs
> > by Tomcat Access Log Valve and httpd) for synapse, as we have discussed a
> > few months ago over this list. This eliminates httpd sitting in front of
> > WSO2 Load Balancer - STRATOS-828 <
> https://wso2.org/jira/browse/STRATOS-828>.
>
> > Tomcat's AccessLogValve code segments were used with thanks, in this
> > implementation.
> >
> > As discussed with Azeez offline, I will branch wso2's synapse branch
> > (2.1.0-wso2v3) and commit the changes along with the changes to the
> relevant
> > 3.2.1 components/products to use. I will also create an rfe and attach
> the
> > patch to the Synapse Jira.
> >
> > To enable access logging, you will have to uncomment (or place)
> > log4j.logger.org.apache.synapse.transport.nhttp.access=DEBUG
> > from the log4j.properties of Load Balancer or ESB product.
> >
> > I have done considerable testing for performance and compatibility, and
> will
> > keep improving too, if Chamith comes up with further requirements for his
> > log analyzer tools.
> >
> >
> >
> > 10.100.0.15:9443 - - [22/Jun/2011:16:57:14 +0530] "GET
> > /carbon/statistics/index.jsp?region=region4&item=statistics_menu
> HTTP/1.1"
> > 302 - "
> >
> https://10.100.0.15:8243/carbon/viewflows/index.jsp?region=region4&item=flows_menu
> "
> > "Synapse-HttpComponents-NIO"
> > 10.100.0.15:8243 - - [22/Jun/2011:16:57:14 +0530] "GET
> > /carbon/statistics/index.jsp?region=region4&item=statistics_menu
> HTTP/1.1"
> > 302 - "
> >
> https://10.100.0.15:8243/carbon/viewflows/index.jsp?region=region4&item=flows_menu
> "
> > "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422
> > Ubuntu/10.04 (lucid) Firefox/3.6.17"
> > 10.100.0.15:9443 - - [22/Jun/2011:16:57:14 +0530] "GET
> > /carbon/admin/login.jsp HTTP/1.1" 200 - "
> >
> https://10.100.0.15:8243/carbon/viewflows/index.jsp?region=region4&item=flows_menu
> "
> > "Synapse-HttpComponents-NIO"
> > 10.100.0.15:8243 - - [22/Jun/2011:16:57:14 +0530] "GET
> > /carbon/admin/login.jsp HTTP/1.1" 200 - "
> >
> https://10.100.0.15:8243/carbon/viewflows/index.jsp?region=region4&item=flows_menu
> "
> > "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422
> > Ubuntu/10.04 (lucid) Firefox/3.6.17"
> > 10.100.0.15:9443 - - [22/Jun/2011:16:57:28 +0530] "POST
> > /carbon/admin/login_action.jsp HTTP/1.1" 302 - "
> > https://10.100.0.15:8243/carbon/admin/login.jsp";
> > "Synapse-HttpComponents-NIO"
> > 10.100.0.15:8243 - - [22/Jun/2011:16:57:28 +0530] "POST
> > /carbon/admin/login_action.jsp HTTP/1.1" 302 - "
> > https://10.100.0.15:8243/carbon/admin/login.jsp"; "Mozilla/5.0 (X11; U;
> Linux
> > x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid)
> > Firefox/3.6.17"
> > 10.100.0.15:9443 - - [22/Jun/2011:16:57:28 +0530] "GET
> >
> /carbon/statistics/index.jsp?region=region4&item=statistics_menu&loginStatus=true
> > HTTP/1.1" 200 - "https://10.100.0.15:8243/carbon/admin/login.jsp";
> > "Synapse-HttpComponents-NIO"
> > 10.100.0.15:8243 - - [22/Jun/2011:16:57:29 +0530] "GET
> >
> /carbon/statistics/index.jsp?region=region4&item=statistics_menu&loginStatus=true
> > HTTP/1.1" 200 - "https://10.100.0.15:8243/carbon/admin/login.jsp";
> > "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422
> > Ubuntu/10.04 (lucid) Firefox/3.6.17"
> > 10.100.0.15:9443 - - [22/Jun/2011:16:57:28 +0530] "GET
> > /carbon/admin/jsp/registry_styles_ajaxprocessor.jsp HTTP/1.1" 200 - "
> >
> https://10.100.0.15:8243/carbon/statistics/index.jsp?region=region4&item=statistics_menu&loginStatus=true
> "
> > "Synapse-HttpComponents-NIO"
> > 10.100.0.15:8243 - - [22/Jun/2011:16:57:29 +0530] "GET
> > /carbon/admin/jsp/registry_styles_ajaxprocessor.jsp HTTP/1.1" 200 - "
> >
> https://10.100.0.15:8243/carbon/statistics/index.jsp?region=region4&item=statistics_menu&loginStatus=true
> "
> > "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422
> > Ubuntu/10.04 (lucid) Firefox/3.6.17"
> >
> >
> >
> > Thank you.
> > Regards,
> > Pradeeban.
> > --
> > Kathiravelu Pradeeban.
> > Software Engineer.
> > WSO2 Inc.
> >
> > Blog: [Llovizna] http://kkpradeeban.blogspot.com/
>



-- 
Kathiravelu Pradeeban.
Software Engineer.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to