Hi all,

MediationTracerService [1] within the carbon-mediation repo is tightly
coupled with the MemoryAppender which is available in the carbon-kernel.
MediationTracerService is only reading the log. We believe this is not the
best way to achieve this. We can use a Logging Provider [2] available
within the carbon-utils to achieve this task.

WDYT?


​[1]
https://github.com/wso2-dev/carbon-mediation/blob/master/components/mediation-monitor/mediation-tracer/org.wso2.carbon.mediation.tracer/src/main/java/org/wso2/carbon/mediation/tracer/MediationTracerService.java
​

[2]
https://github.com/wso2-dev/carbon-utils/tree/master/components/logging/org.wso2.carbon.logging.service/src/main/java/org/wso2/carbon/logging/util

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

Reply via email to