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

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



-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to