kubectl-aks icon indicating copy to clipboard operation
kubectl-aks copied to clipboard

Verbose flag should set the logrus log level

Open blanquicet opened this issue 1 year ago • 1 comments

We use the "github.com/sirupsen/logrus" for logging. The --verbose should set the log level to debug: logrus.SetLevel(logrus.DebugLevel).

blanquicet avatar Feb 05 '24 22:02 blanquicet

Replace following code block with logrus.Debugf:

	if verbose {
		... 
	}

blanquicet avatar Feb 06 '24 20:02 blanquicet