Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 86 for Stderr (0.15 sec)

  1. istioctl/pkg/kubeinject/kubeinject.go

    			// istioctl kube-inject is typically redirected to a .yaml file;
    			// the default for log messages should be stderr, not stdout
    			root := c.Root()
    			if root != nil {
    				_ = c.Root().PersistentFlags().Set("log_target", "stderr")
    			}
    			if c.Parent() != nil && c.Parent().PersistentPreRunE != nil {
    				return c.Parent().PersistentPreRunE(c, args)
    			}
    
    			return nil
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  2. docs/debugging/s3-check-md5/main.go

    		Creds:     credentials.NewStaticV4(accessKey, secretKey, ""),
    		Secure:    secure,
    		Transport: transport,
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	if debug {
    		s3Client.TraceOn(os.Stderr)
    	}
    
    	var buckets []string
    	if bucket != "" {
    		buckets = append(buckets, bucket)
    	} else {
    		bucketsInfo, err := s3Client.ListBuckets(context.Background())
    		if err != nil {
    			log.Fatalln(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator_test.go

    			operatorNamespace: "operator-test-namespace",
    			watchedNamespaces: "istio-test-namespace1,istio-test-namespace2",
    			manifestsPath:     string(snapshotCharts),
    		},
    	}
    
    	l := clog.NewConsoleLogger(os.Stdout, os.Stderr, installerScope)
    	_, gotYAML, err := renderOperatorManifest(rootArgs, &oiArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	if refreshGoldenFiles() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/tag.go

    	return cmd
    }
    
    // setTag creates or modifies a revision tag.
    func setTag(ctx context.Context, kubeClient kube.CLIClient, tagName, revision, istioNS string, generate bool, w, stderr io.Writer) error {
    	opts := &GenerateOptions{
    		Tag:                  tagName,
    		Revision:             revision,
    		WebhookName:          webhookName,
    		ManifestsPath:        manifestsPath,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/godefs.go

    			i := strings.Index(c.Text, "+godefs map")
    			if i < 0 {
    				continue
    			}
    			s := strings.TrimSpace(c.Text[i+len("+godefs map"):])
    			i = strings.Index(s, " ")
    			if i < 0 {
    				fmt.Fprintf(os.Stderr, "invalid +godefs map comment: %s\n", c.Text)
    				continue
    			}
    			override["_Ctype_"+strings.TrimSpace(s[:i])] = strings.TrimSpace(s[i:])
    		}
    	}
    	for _, n := range f.Name {
    		if s := override[n.Go]; s != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  6. internal/logger/logger.go

    	InfoKind    = madmin.LogKindInfo
    )
    
    var (
    	// DisableErrorLog avoids printing error/event/info kind of logs
    	DisableErrorLog = false
    	// Output allows configuring custom writer, defaults to os.Stderr
    	Output io.Writer = os.Stderr
    )
    
    var trimStrings []string
    
    // TimeFormat - logging time format.
    const TimeFormat string = "15:04:05 MST 01/02/2006"
    
    var matchingFuncNames = [...]string{
    	"http.HandlerFunc.ServeHTTP",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  7. cmd/server-main.go

    		if err == nil {
    			logger.Output = output
    			globalConsoleSys = NewConsoleLogger(GlobalContext, output)
    			globalLoggerOutput = output
    		} else {
    			logger.Output = os.Stderr
    			globalConsoleSys = NewConsoleLogger(GlobalContext, os.Stderr)
    		}
    		logger.AddSystemTarget(GlobalContext, globalConsoleSys)
    
    		// Set node name, only set for distributed setup.
    		globalConsoleSys.SetNodeName(globalLocalNodeName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  8. src/cmd/api/main_test.go

    		defer func() { <-listSem }()
    
    		cmd := exec.Command(goCmd(), "list", "-e", "-deps", "-json", "std")
    		cmd.Env = listEnv(w.context)
    		if w.context.Dir != "" {
    			cmd.Dir = w.context.Dir
    		}
    		cmd.Stderr = os.Stderr
    		out, err := cmd.Output()
    		if err != nil {
    			log.Fatalf("loading imports: %v\n%s", err, out)
    		}
    
    		var stdPackages []string
    		importMap := make(map[string]map[string]string)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. istioctl/pkg/multixds/gather.go

    				if visited[namespacedName] {
    					// If we already have information about the pod, skip it.
    					continue
    				}
    				resp, err := queryToOnePod(&pod)
    				if err != nil {
    					fmt.Fprintf(os.Stderr, "Skip the agent in Pod %s due to the error: %s\n", namespacedName, err.Error())
    					continue
    				}
    				responses = append(responses, resp)
    			}
    			token = list.ListMeta.GetContinue()
    			if token == "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin.go

    	case "info":
    		return log.InfoLevel
    	}
    	return log.InfoLevel
    }
    
    func GetLoggingOptions(udsAddress string) *log.Options {
    	loggingOptions := log.DefaultOptions()
    	loggingOptions.OutputPaths = []string{"stderr"}
    	loggingOptions.JSONEncoding = true
    	if udsAddress != "" {
    		loggingOptions.WithTeeToUDS(udsAddress, constants.UDSLogPath)
    	}
    	return loggingOptions
    }
    
    // CmdAdd is called for ADD requests
    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