Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for stdout (0.07 sec)

  1. cni/pkg/util/executil.go

    	externalCommand := exec.Command(cmd, args...)
    	stdout := &bytes.Buffer{}
    	stderr := &bytes.Buffer{}
    	externalCommand.Stdout = stdout
    	externalCommand.Stderr = stderr
    
    	err := externalCommand.Run()
    
    	if len(stdout.String()) != 0 {
    		log.Debugf("Command output: \n%v", stdout.String())
    	}
    
    	if err != nil || len(stderr.Bytes()) != 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/resources/log4j.properties

    log4j.rootLogger=INFO,STDOUT
    log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
    log4j.appender.STDOUT.ImmediateFlush=true
    log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jan 01 13:27:13 UTC 2019
    - 251 bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/configdump.go

    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintClusterSummary(cf); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintListenerSummary(lf); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintRouteSummary(rf); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. cni/pkg/log/uds_test.go

    	istiolog.Error("error log")
    	istiolog.WithLabels("key", 2).Infof("with labels")
    	// This will error because stdout cannot sync, but the UDS part should sync
    	// Ideally we would fail if the UDS part fails but the error library makes it kind of tricky
    	_ = istiolog.Sync()
    
    	// Restore os stdout.
    	os.Stdout = stdout
    	assert.NoError(t, istiolog.Configure(loggingOptions))
    
    	assert.NoError(t, w.Close())
    	out, err := io.ReadAll(r)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/test/resources/log4j.properties

    log4j.rootLogger=INFO,STDOUT
    log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
    log4j.appender.STDOUT.ImmediateFlush=true
    log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 251 bytes
    - Viewed (0)
  6. .github/workflows/CheckBadMerge.groovy

            return new ExecResult(stderr: stderr, stdout: stdout, returnCode: returnCode)
        }
    
        static String getStdout(String command) {
            ExecResult execResult = exec(command)
    
            assert execResult.returnCode == 0: "$command failed with return code: $execResult"
            return execResult.stdout
        }
    
        static Future<String> readStreamAsync(InputStream inputStream) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            private final String[] args;
            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() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. src/cmd/addr2line/main.go

    	}
    
    	stdin := bufio.NewScanner(os.Stdin)
    	stdout := bufio.NewWriter(os.Stdout)
    
    	for stdin.Scan() {
    		p := stdin.Text()
    		if strings.Contains(p, ":") {
    			// Reverse translate file:line to pc.
    			// This was an extension in the old C version of 'go tool addr2line'
    			// and is probably not used by anyone, but recognize the syntax.
    			// We don't have an implementation.
    			fmt.Fprintf(stdout, "!reverse translation not implemented\n")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/ecds_test.go

    	gotOut := &bytes.Buffer{}
    	cw := &ConfigWriter{Stdout: gotOut}
    	cd, _ := os.ReadFile("testdata/ecds/configdump.json")
    	cw.Prime(cd)
    	err := cw.PrintEcdsSummary()
    	assert.NoError(t, err)
    
    	util.CompareContent(t, gotOut.Bytes(), "testdata/ecds/output.txt")
    }
    
    func TestPrintEcdsYaml(t *testing.T) {
    	gotOut := &bytes.Buffer{}
    	cw := &ConfigWriter{Stdout: gotOut}
    	cd, _ := os.ReadFile("testdata/ecds/configdump.json")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Dec 13 01:08:07 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. src/test/resources/log4j.properties

    log4j.rootLogger=WARN,STDOUT
    log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
    log4j.appender.STDOUT.ImmediateFlush=true
    log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
    log4j.appender.STDOUT.layout.ConversionPattern=%-5p %d [%t] %m%n
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Sun Dec 28 09:01:06 UTC 2014
    - 283 bytes
    - Viewed (0)
Back to top