<p>I am using the kubernetes sample controller and I want to increase the log verbosity</p>

<p>On starting up the controller I tried <code>./sample-controller -kubeconfig=kubeconfig.yaml -v=8</code></p>

<p>Does klog require a flag to be passed in on the flag.Parse() step or can I set some env variable to increase log level?</p>

daxmc99
<p>This was fixed by klog.InitFlags(nil) in this PR <a href="https://github.com/kubernetes/kubernetes/pull/79219/files" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/pull/79219/files</a></p>
