Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OutputPaths (0.14 sec)

  1. pkg/log/options.go

    }
    
    // Options defines the set of options supported by Istio's component logging package.
    type Options struct {
    	// OutputPaths is a list of file system paths to write the log data to.
    	// The special values stdout and stderr can be used to output to the
    	// standard I/O streams. This defaults to stdout.
    	OutputPaths []string
    
    	// ErrorOutputPaths is a list of file system paths to write logger errors to.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    		}
    	}
    	// End previous result parsing
    
    	return &conf, nil
    }
    
    func GetLoggingOptions(cfg *Config) *log.Options {
    	loggingOptions := log.DefaultOptions()
    	loggingOptions.OutputPaths = []string{"stderr"}
    	loggingOptions.JSONEncoding = true
    	if cfg != nil {
    		// 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`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top