klog icon indicating copy to clipboard operation
klog copied to clipboard

GLOG_v environment variable alternative ?

Open ipochi opened this issue 1 year ago • 4 comments

/kind bug

What steps did you take and what happened:

I tried to use the GLOG_v environment variable to change the logging verbosity. However that didn't work. I was wondering if there is alternative that we can use in klog ?

What did you expect to happen:

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

ipochi avatar Feb 06 '24 08:02 ipochi

There's nothing in klog which parses env variables.

Note that klog is essentially in feature freeze. If you need this in some specific component that you control, then you can add env variable parsing there.

pohly avatar Feb 06 '24 08:02 pohly

/triage accepted /assign @pohly

dgrisonnet avatar Feb 08 '24 17:02 dgrisonnet

/remove-kind bug /kind support

dgrisonnet avatar Feb 08 '24 17:02 dgrisonnet