- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tee (0.13 sec)
-
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Mar 16 00:20:01 GMT 2024 - 2.5K bytes - Viewed (0) -
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 Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0)