From b0ea6a742113d6e83d4037016377761f047daf7b Mon Sep 17 00:00:00 2001 From: Dean Coakley Date: Mon, 28 Aug 2023 10:18:46 +0100 Subject: [PATCH] Remove unused logger topics --- src/core/topics.go | 3 --- .../vendor/github.com/nginx/agent/v2/src/core/topics.go | 3 --- .../vendor/github.com/nginx/agent/v2/src/core/topics.go | 3 --- 3 files changed, 9 deletions(-) diff --git a/src/core/topics.go b/src/core/topics.go index e77853886..6f6308c7c 100644 --- a/src/core/topics.go +++ b/src/core/topics.go @@ -40,9 +40,6 @@ const ( AgentConfigChanged = "agent.config.changed" AgentCollectorsUpdate = "agent.collectors.update" MetricReport = "metrics.report" - LoggerPrefix = "logger." - LoggerLevel = LoggerPrefix + "level" // TODO: Never set/used? - LoggerPath = LoggerPrefix + "path" // TODO: Never set/used? DataplaneChanged = "dataplane.changed" DataplaneFilesChanged = "dataplane.fileschanged" Events = "events" diff --git a/test/integration/vendor/github.com/nginx/agent/v2/src/core/topics.go b/test/integration/vendor/github.com/nginx/agent/v2/src/core/topics.go index e77853886..6f6308c7c 100644 --- a/test/integration/vendor/github.com/nginx/agent/v2/src/core/topics.go +++ b/test/integration/vendor/github.com/nginx/agent/v2/src/core/topics.go @@ -40,9 +40,6 @@ const ( AgentConfigChanged = "agent.config.changed" AgentCollectorsUpdate = "agent.collectors.update" MetricReport = "metrics.report" - LoggerPrefix = "logger." - LoggerLevel = LoggerPrefix + "level" // TODO: Never set/used? - LoggerPath = LoggerPrefix + "path" // TODO: Never set/used? DataplaneChanged = "dataplane.changed" DataplaneFilesChanged = "dataplane.fileschanged" Events = "events" diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/topics.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/topics.go index e77853886..6f6308c7c 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/topics.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/topics.go @@ -40,9 +40,6 @@ const ( AgentConfigChanged = "agent.config.changed" AgentCollectorsUpdate = "agent.collectors.update" MetricReport = "metrics.report" - LoggerPrefix = "logger." - LoggerLevel = LoggerPrefix + "level" // TODO: Never set/used? - LoggerPath = LoggerPrefix + "path" // TODO: Never set/used? DataplaneChanged = "dataplane.changed" DataplaneFilesChanged = "dataplane.fileschanged" Events = "events"