func validateEnvoyLogLevel()

in agent/config/agent_config.go [390:415]


func validateEnvoyLogLevel(logLevel *string) {
	switch *logLevel {
	case "info":
		fallthrough
	case "debug":
		fallthrough
	case "warn":
		fallthrough
	case "warning":
		fallthrough
	case "error":
		fallthrough
	case "trace":
		fallthrough
	case "critical":
		fallthrough
	case "off":
		return
	default:
		if *logLevel != "" {
			log.Warnf("Envoy log level [%s] is not supported, setting it to default [info].", *logLevel)
		}
		*logLevel = "info"
	}

}