diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 3e379315..01dc3d4d 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -165,25 +165,6 @@ func handleFlags() { logger = smartlogger.New(defaultLogVerbosity, logPath) - // FIXME (saxon): if we store a logger that keeps track of verbosity, we don't - // need the verbosity var in the config - switch *configFlags[verbosityPtr] { - case "Debug": - config.Verbosity = smartlogger.Debug - case "Info": - config.Verbosity = smartlogger.Info - case "Warning": - config.Verbosity = smartlogger.Warning - case "Error": - config.Verbosity = smartlogger.Error - case "Fatal": - config.Verbosity = smartlogger.Fatal - case "": - config.Verbosity = defaultLogVerbosity - default: - logger.Log(smartlogger.Warning, pkg+"bad input argument for LogVerbosity") - } - config.Logger = logger if *cpuprofile != "" {