Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tee (0.17 sec)

  1. cni/pkg/log/uds_test.go

    	pluginLog.SetOutputLevel(log.DebugLevel) // this will be configured by global.logging.level
    	stop := make(chan struct{})
    	defer close(stop)
    	assert.NoError(t, logger.StartUDSLogServer(udsSock, stop))
    
    	// Configure log to tee to UDS server
    	stdout := os.Stdout
    	r, w, _ := os.Pipe()
    	os.Stdout = w
    	loggingOptions := log.DefaultOptions()
    	loggingOptions.WithTeeToUDS(udsSock, constants.UDSLogPath)
    	assert.NoError(t, log.Configure(loggingOptions))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. Makefile.core.mk

    # For now, keep a minimal subset. This can be expanded in the future.
    BENCH_TARGETS ?= ./pilot/...
    
    PKG ?= ./...
    .PHONY: racetest
    racetest: $(JUNIT_REPORT)
    	go test ${GOBUILDFLAGS} ${T} -race $(PKG) 2>&1 | tee >($(JUNIT_REPORT) > $(JUNIT_OUT))
    
    .PHONY: benchtest
    benchtest: $(JUNIT_REPORT) ## Runs all benchmarks
    	prow/benchtest.sh run $(BENCH_TARGETS)
    	prow/benchtest.sh compare
    
    report-benchtest:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    	if err := rulesMgr.Program(podName, args.Netns, redirect); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    func setupLogging(conf *Config) {
    	if conf.LogUDSAddress != "" {
    		// reconfigure log output with tee to UDS if UDS log is enabled.
    		if err := log.Configure(GetLoggingOptions(conf.LogUDSAddress)); err != nil {
    			log.Error("Failed to configure istio-cni with UDS log")
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top