From c5280d5c3ae6204fe97e7eff86fa0b7ba022bd05 Mon Sep 17 00:00:00 2001 From: tbjump Date: Thu, 10 Aug 2023 17:11:38 +0000 Subject: [PATCH] node: Fix skipPrivateLogs option in Loki telemetry --- node/cmd/guardiand/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/cmd/guardiand/node.go b/node/cmd/guardiand/node.go index 32e44bf82..bad0634dc 100644 --- a/node/cmd/guardiand/node.go +++ b/node/cmd/guardiand/node.go @@ -935,7 +935,7 @@ func runNode(cmd *cobra.Command, args []string) { zap.String("publicRpcLogDetail", *publicRpcLogDetailStr), zap.Bool("logPublicRpcToTelemetry", *publicRpcLogToTelemetry)) - tm, err = telemetry.NewLokiCloudLogger(context.Background(), logger, *telemetryLokiURL, "wormhole", true, labels) + tm, err = telemetry.NewLokiCloudLogger(context.Background(), logger, *telemetryLokiURL, "wormhole", skipPrivateLogs, labels) if err != nil { logger.Fatal("Failed to initialize telemetry", zap.Error(err)) }