code: func defaultProxyCommand(agentCfg *config.RuntimeConfig) ([]string, error) {
  	// Get the path to the current executable. This is cached once by the
  	// library so this is effectively just a variable read.
  	execPath, err := os.Executable()
  	if err != nil {
  		return nil, err
  	}
  
  	// "consul connect proxy" default value for managed daemon proxy
  	cmd := []string{execPath, "connect", "proxy"}
  
  	if agentCfg != nil && agentCfg.LogLevel != "INFO" {
  		cmd = append(cmd, "-log-level", agentCfg.LogLevel)
  	}
  	return cmd, nil
  }
docs: // defaultProxyCommand returns the default Connect managed proxy command.