Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMigrate logging implementation from google/glog to kubernetes/klog #9323
Comments
/assign |
This is required for #9156
Switching from https://github.com/kubernetes/klog to https://github.com/google/glog should be easy, as klog is a newer fork of glog. klog supports the ability to specify log destinations, which is why it is important for #9156
This should be achievable mostly a search & replace of
glog
toklog
, but initialization is slightly different. See this PR I proposed & abandoned last year: #5318 - though that was with klog v1, and now klog v2 is available. Here's an example of klog usage:https://github.com/kubernetes/klog/blob/master/examples/log_file/usage_log_file.go