Open
Description
Current implementation of logging tests relies too much on turning off logging to stderr by klog which is possible to be done using a hack as below:
klog.InitFlags(nil)
flag.Set("logtostderr", "false")
flag.Parse()
Idea: introduce some Logger interface which will be easy to mock and will facilitate catching the log statements inside the unit tests.