On Wed, Mar 9, 2011 at 3:04 PM, Afkham Azeez <[email protected]> wrote:

> Do we have something similar to this in Synapse/ESB? This is essential
> specially when the ESB is acting as a proxy or LB to several BEs. If not,
> what is the best way to implement this? Pradeeban is looking into this, so
> any insights & suggestions will be helpful.


Thanks. I have started implementing a mediator in Synapse named
AccessLogMediator for http access logs. I am following the same way how
other mediators are implemented and used in Synapse.

Pls let me know if there is something I should know more on this.

Regards,
Pradeeban.

>
> Azeez
>
>
> On Mon, Mar 7, 2011 at 7:44 PM, Afkham Azeez <[email protected]> wrote:
>
>> Now an HTTP access log file which looks like the following is created in
>> $CARBON_HOME/repository/logs. This is based on the Tomcat AccessLogValve.
>> Since this is based on the same standard log style generated by Apache HTTPD
>> and many other Web servers, it can be easily used with other HTTP access log
>> analysis tools.
>>
>>
>> 10.100.1.194 - - [07/Mar/2011:18:32:20 +0530] "GET
>> /wso2appserver-samples-hello-webapp-1.0/ HTTP/1.1" 200 762 "-" "Mozilla/5.0
>> (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like
>> Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:20 +0530] "GET /favicon.ico HTTP/1.1"
>> 405 1110 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
>> AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:23 +0530] "GET
>> /wso2appserver-samples-hello-webapp-1.0/ HTTP/1.1" 200 762 "-" "Mozilla/5.0
>> (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like
>> Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:23 +0530] "GET /favicon.ico HTTP/1.1"
>> 405 1110 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
>> AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:25 +0530] "GET
>> /wso2appserver-samples-hello-webapp-1.0/ HTTP/1.1" 200 762 "-" "Mozilla/5.0
>> (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like
>> Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:25 +0530] "GET /favicon.ico HTTP/1.1"
>> 405 1110 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
>> AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:26 +0530] "GET
>> /wso2appserver-samples-hello-webapp-1.0/ HTTP/1.1" 200 762 "-" "Mozilla/5.0
>> (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like
>> Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:27 +0530] "GET /favicon.ico HTTP/1.1"
>> 405 1110 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
>> AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:28 +0530] "GET
>> /wso2appserver-samples-hello-webapp-1.0/ HTTP/1.1" 200 762 "-" "Mozilla/5.0
>> (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like
>> Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:28 +0530] "GET /favicon.ico HTTP/1.1"
>> 405 1110 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
>> AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:30 +0530] "GET
>> /wso2appserver-samples-hello-webapp-1.0/ HTTP/1.1" 200 762 "-" "Mozilla/5.0
>> (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like
>> Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:30 +0530] "GET /favicon.ico HTTP/1.1"
>> 405 1110 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
>> AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:32 +0530] "GET
>> /wso2appserver-samples-hello-webapp-1.0/ HTTP/1.1" 200 762 "-" "Mozilla/5.0
>> (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like
>> Gecko) Chrome/9.0.597.102 Safari/534.13"
>> 10.100.1.194 - - [07/Mar/2011:18:32:32 +0530] "GET /favicon.ico HTTP/1.1"
>> 405 1110 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
>> AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13"
>>
>>
>> --
>> *Afkham Azeez*
>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
>> *
>> *
>> *Member; Apache Software Foundation; 
>> **http://www.apache.org/*<http://www.apache.org/>
>> *
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
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