On Tue, Sep 2, 2014 at 1:20 PM, Afkham Azeez <[email protected]> wrote:

> Can it be moved to carbon-commons?
>

This means carbon-commons will depend on cassandra-thrift and hector-core,
I don't think that as a good approach. AFAIK this is required for few
products such as BAM, CEP, MB etc. so can't we move to a project common for
those projects only  ?

Thanks !

>
>
> On Tue, Sep 2, 2014 at 12:25 PM, Gayashan Amarasinghe <[email protected]>
> wrote:
>
>> Hi all,
>>
>> As a result of Simplifying Carbon Platform Logging Story & Supporting
>> Extending [1] the ability to plug any log provider to carbon server has
>> been implemented [2]. This can be done by implementing the LogProvider
>> interface and using logging-config.xml file to provide configurations
>> needed to initialize the log provider implementation. Carbon log viewer
>> will use this interface to get the LogEvents and show it on Log View UI.
>>
>> There has been some implementations already done and these log providers
>> reside in carbon-utils repo [3]. One such log provider is
>> CassandraLogProvider which can be used to provide logs from a cassandra
>> instance. However since having this implementation in carbon-utils repo
>> introduces dependencies on cassandra-thrift and hector-core we cannot keep
>> this implementation in the carbon-utils. So where is the best place to keep
>> this implementation since it is useful for many products?
>>
>> [1] https://wso2.org/jira/browse/COMMONS-110
>> [2] https://wso2.org/jira/browse/COMMONS-111
>> [3]
>> https://github.com/shamrath/carbon-utils/tree/CircularBuffer_fix/components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/service/provider
>>
>> Thanks.
>>  /Gayashan
>>
>> --
>> *Gayashan Amarasinghe*
>> Software Engineer | Platform TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94718314517
>> Blog : gayashan-a.blogspot.com
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; 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 <%2B94%2077%203320919> 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
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>



-- 
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
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to