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

Reply via email to