Do you mean the following log?

Started JMX reporter for Metrics

It's supposed to be logged only at initialization time. However when
changing the metric levels, the listening reporters are restarted (due to
the way it's implemented). For example, the default JMX Reporter will not
detect new metrics (when a metric is changing the status to enabled). We
need to fix the code (to avoid printing many logs).



On Tue, Nov 13, 2018 at 8:15 PM Ramindu De Silva <ramin...@wso2.com> wrote:

> Hi All,
>
> Regarding the "Lots of log printed when matrices are enabled" issue [1].
> When each an every metrics is starting[2], the log is getting printed when
> setting the metrics level. Should we make these logs [3] to debug logs?
>
>
> 1. https://github.com/wso2/product-sp/issues/873
> 2.
> https://github.com/wso2/carbon-analytics/blob/b4a2bcf444d25031775a679bad76798d70ce7d5b/components/org.wso2.carbon.siddhi.metrics.core/src/main/java/org/wso2/carbon/siddhi/metrics/core/SiddhiThroughputMetric.java#L41
> 3.
> https://github.com/ramindu90/carbon-metrics/blob/61c87c5360859c64217bcfa63f56b1c3fff32279/components/org.wso2.carbon.metrics.core/src/main/java/org/wso2/carbon/metrics/core/reporter/impl/AbstractReporter.java#L59
>
> Best Regards,
> Ramindu.
>
> --
> *Ramindu De Silva*
> Senior Software Engineer
> WSO2 Inc.: http://wso2.com
> lean.enterprise.middleware
>
> email: ramin...@wso2.com <sanj...@wso2.com>
> mob: +94 719678895
>


-- 
Isuru Perera | Technical Lead | WSO2 Inc.
Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2>
GET INTEGRATION AGILE
Integration Agility for Digitally Driven Business
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to