If this is going into 4.8.0, please be sure to create a RedMine story for it 
(if you haven't already) and follow the usual protocol. No more features 
slipped into releases like stealthy ninjas, please. :)

Sent from my iPhone

> On Oct 11, 2013, at 9:23 AM, Isuru Udana <isu...@wso2.com> wrote:
> 
> Hi Sagara,
> 
> This is a very useful feature to have. Please check-in the code to synapse so 
> that we can have it for ESB 4.8.0.
> 
> Thanks,
> IsuruU
> 
> 
>> On Fri, Oct 11, 2013 at 8:12 PM, Sagara Gunathunga <sag...@wso2.com> wrote:
>> 
>> Proxy services already support for per service logging configuration, which 
>> means though the log4j.properties file it is possible to control logging 
>> behavior per proxy services such as create separate log file per proxy, 
>> define log category per proxy etc.  But for the moment ESB APIs don't 
>> support for per API logging configuration. Since there are some user 
>> interest on this feature  I looked into related code and realized this can 
>> be supported easily, in fact I end up adding this support. Please find 
>> details of this new feature below.  
>> 
>> 
>> (1) Like SERVICE_LOGGER which is common for all (proxy) services there will 
>> be a new logger called API_LOGGER which is common for all APIs and it will 
>> persist log messages into wso2-esb-api.log file. 
>> 
>> 
>> (2) It is possible to refer each API uniquely on log4j.properties file using 
>> API_LOGGER.{API-Name}  category. 
>> 
>> e.g - log4j.category.API_LOGGER.TestAPI=DEBUG,  TestAPI_ APPENDER  
>>    
>> 
>> 
>> Thanks ! 
>> 
>> -- 
>> Sagara Gunathunga
>> 
>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>> V.P Apache Web Services;    http://ws.apache.org/
>> Linkedin; http://www.linkedin.com/in/ssagara
>> Blog ;  http://ssagara.blogspot.com
>> 
>> _______________________________________________
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>> 
> 
> 
> 
> -- 
> Isuru Udana
> Senior  Software Engineer
> WSO2 Inc.; http://wso2.com
> email: isu...@wso2.com cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
> twitter: http://twitter.com/isudana
> _______________________________________________
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to