From 1e17a0c3e1ff7fbc700946e8b5198b2ba87289b3 Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Wed, 29 Jul 2020 14:10:16 -0400 Subject: [PATCH] config: Remove unused field --- agent/agent.go | 1 - agent/consul/config.go | 3 --- 2 files changed, 4 deletions(-) diff --git a/agent/agent.go b/agent/agent.go index 195c3d0edd..eac75560b2 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -1524,7 +1524,6 @@ func (a *Agent) consulConfig() (*consul.Config, error) { } // Setup the loggers - base.LogLevel = a.config.LogLevel base.LogOutput = a.LogOutput // This will set up the LAN keyring, as well as the WAN and any segments diff --git a/agent/consul/config.go b/agent/consul/config.go index 9498865057..65820822db 100644 --- a/agent/consul/config.go +++ b/agent/consul/config.go @@ -161,9 +161,6 @@ type Config struct { // leader election. ReconcileInterval time.Duration - // LogLevel is the level of the logs to write. Defaults to "INFO". - LogLevel string - // LogOutput is the location to write logs to. If this is not set, // logs will go to stderr. LogOutput io.Writer