config: Remove unused field

This commit is contained in:
Daniel Nephin 2020-07-29 14:10:16 -04:00
parent 1298b3afd8
commit c7c941811d
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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