code: func SetupGlog(flags *pflag.FlagSet) {
  
  	from := flag.CommandLine
  	if fflag := from.Lookup("v"); fflag != nil {
  		level := fflag.Value.(*log.Level)
  		loglevelPtr := (*int32)(level)
  		flags.Int32Var(loglevelPtr, "loglevel", 0, "Set the level of log output (0-5)")
  	}
  
  	// FIXME currently glog has only option to redirect output to stderr
  	// the preferred for S2I would be to redirect to stdout
  	flag.CommandLine.Set("logtostderr", "true")
  }
docs: // SetupGlog makes --loglevel reflect in glog's -v flag