Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Stderr (0.33 sec)

  1. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            private final int code;
            private final String stdout;
            private final String stderr;
    
            public ExecResult(String[] args, int code, String stdout, String stderr) {
                this.args = args;
                this.code = code;
                this.stdout = stdout;
                this.stderr = stderr;
            }
    
            @Override
            public String toString() {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. misc/go_android_exec/main.go

    	// and wait for our os.Stderr (and os.Stdout) to close as a result.
    	// However, if the os.Stderr (or os.Stdout) file descriptors are
    	// passed on, the hanging adb subprocess will hold them open and
    	// go test will hang forever.
    	//
    	// Avoid that by wrapping stderr, breaking the short circuit and
    	// forcing cmd.Run to use another pipe and goroutine to pass
    	// along stderr from adb.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/input.go

    		value := "1"
    		i := strings.IndexRune(name, '=')
    		if i > 0 {
    			name, value = name[:i], name[i+1:]
    		}
    		tokens := Tokenize(name)
    		if len(tokens) != 1 || tokens[0].ScanToken != scanner.Ident {
    			fmt.Fprintf(os.Stderr, "asm: parsing -D: %q is not a valid identifier name\n", tokens[0])
    			flags.Usage()
    		}
    		macros[name] = &Macro{
    			name:   name,
    			args:   nil,
    			tokens: Tokenize(value),
    		}
    	}
    	return macros
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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