func InitLogs() {
	log.SetOutput(KlogWriter{})
	log.SetFlags(0)
	go wait.Until(klog.Flush, *logFlushFreq, wait.NeverStop)
}
InitLogs initializes logs the way we want for kubernetes.
package logs
import (
	"flag"
	"log"
	"time"
	"github.com/spf13/pflag"
	"k8s.io/apimachinery/pkg/util/wait"
	"k8s.io/klog"
)
var logFlushFreq = pflag.Duration("log-flush-frequency", 5*time.Second, "Maximum number of seconds between log flushes")
func init() {
	klog.InitFlags(flag.CommandLine)
	flag.Set("logtostderr", "true")
}
type KlogWriter struct{}
func (writer KlogWriter) Write(data []byte) (n int, err error) {
	klog.InfoDepth(1, string(data))
	return len(data), nil
}