Merge pull request #108480 from wojtek-t/log_golang_envs
Log main golang runtime env vars
This commit is contained in:
@@ -152,6 +152,8 @@ func Run(completeOptions completedServerRunOptions, stopCh <-chan struct{}) erro
|
||||
// To help debugging, immediately log version
|
||||
klog.Infof("Version: %+v", version.Get())
|
||||
|
||||
klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
|
||||
|
||||
server, err := CreateServerChain(completeOptions, stopCh)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user