Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WithTeeToUDS (0.32 sec)

  1. cni/pkg/log/uds_test.go

    	// Configure log to tee to UDS server
    	stdout := os.Stdout
    	r, w, _ := os.Pipe()
    	os.Stdout = w
    	loggingOptions := istiolog.DefaultOptions()
    	loggingOptions.JSONEncoding = true
    	loggingOptions.WithTeeToUDS(udsSock, constants.UDSLogPath)
    	assert.NoError(t, istiolog.Configure(loggingOptions))
    	istiolog.FindScope("default").SetOutputLevel(istiolog.DebugLevel)
    	istiolog.Debug("debug log")
    	istiolog.Info("info log")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    		// Tee all logs to UDS. Stdout will go to kubelet (hard to access, UDS will be read by the CNI DaemonSet and exposed
    		// by normal `kubectl logs`
    		if file.Exists(udsAddr) {
    			loggingOptions.WithTeeToUDS(udsAddr, constants.UDSLogPath)
    		}
    		// Override plugin log level based on their config. Not we use "all" (OverrideScopeName) since there is no scoping in the plugin.
    		if cfg.PluginLogLevel != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top