diff --git a/ballerina/commons.bal b/ballerina/commons.bal index 16ead05..5cbc5b7 100644 --- a/ballerina/commons.bal +++ b/ballerina/commons.bal @@ -28,8 +28,7 @@ configurable boolean metricsLogsEnabled = false; function init() returns error? { boolean isMissingMetricsReporter = ((enabled || metricsEnabled) && (provider == "" && metricsReporter == "")); boolean isMissingTracingProvider = ((enabled || tracingEnabled) && (provider == "" && tracingProvider == "")); - boolean isMissingMetricsLogsProvider = enabled || metricsLogsEnabled; - if (isMissingMetricsReporter || isMissingTracingProvider || isMissingMetricsLogsProvider) { + if (isMissingMetricsReporter || isMissingTracingProvider) { string[] enabledObservers = []; string[] missingProviders = []; if (isMissingMetricsReporter) {