From 0f86c9010dcd319e2d03a4dc4c3ce6e1a853a7b1 Mon Sep 17 00:00:00 2001 From: NipunaMadhushan Date: Thu, 31 Oct 2024 13:33:13 +0530 Subject: [PATCH] Add configuration of logs enabling --- ballerina/commons.bal | 1 + gradle.properties | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ballerina/commons.bal b/ballerina/commons.bal index 8d31f18..ab799a6 100644 --- a/ballerina/commons.bal +++ b/ballerina/commons.bal @@ -23,6 +23,7 @@ configurable boolean metricsEnabled = false; configurable string metricsReporter = ""; configurable boolean tracingEnabled = false; configurable string tracingProvider = ""; +configurable boolean observabilityLogsEnabled = false; function init() returns error? { boolean isMissingMetricsReporter = ((enabled || metricsEnabled) && (provider == "" && metricsReporter == "")); diff --git a/gradle.properties b/gradle.properties index 7d94bff..dee7685 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ org.gradle.caching=true group=io.ballerina.stdlib -version=1.3.1-SNAPSHOT +version=1.4.0-SNAPSHOT ballerinaLangVersion=2201.10.0 githubSpotbugsVersion=5.0.14 githubJohnrengelmanShadowVersion=8.1.1