INNER CODE UNIT · Go

logLevel

l7mp/stunner · cmd/stunnerd/main.go:120

		logLevel = *level
	}

	// Three positional arguments select tunnel mode, with turncat's argument shape. The
	// tunnel is a pipe-friendly CLI: quiet by default, unless a log level is set.
	if flag.NArg() == 3 {
		if !*verbose && *level == "" {
			logLevel = "all:WARN"
		}
		runTunnel(flag.Arg(0), flag.Arg(1), flag.Arg(2), tunnelOptions{
			sni:       *sni,
			insecure:  *insecure,
			logLevel:  logLevel,
			logFormat: *logFormat,
			license:   license,
			offload:   *offload,
		}, k8sConfigFlags, cdsConfigFlags)
		return

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…