Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for OutputPaths (0.22 sec)

  1. pkg/log/options_test.go

    			OutputPaths:         []string{defaultOutputPath},
    			ErrorOutputPaths:    []string{defaultErrorOutputPath},
    			defaultOutputLevels: "default:info,grpc:none",
    			stackTraceLevels:    levelToString[NoneLevel],
    			RotationMaxAge:      defaultRotationMaxAge,
    			RotationMaxSize:     defaultRotationMaxSize,
    			RotationMaxBackups:  defaultRotationMaxBackups,
    		}},
    
    		{"--log_stacktrace_level default:none", Options{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/PBXShellScriptBuildPhase.java

            }
            s.addField("inputPaths", inputPathsArray);
    
            NSArray outputPathsArray = new NSArray(outputPaths.size());
            for (int i = 0; i < outputPaths.size(); i++) {
                outputPathsArray.setValue(i, new NSString(outputPaths.get(i)));
            }
            s.addField("outputPaths", outputPathsArray);
    
            NSString shellPathString;
            if (shellPath == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/MutationInfo.java

     */
    
    package org.gradle.execution.plan;
    
    import java.util.HashSet;
    import java.util.Set;
    
    class MutationInfo {
        private final Set<Node> nodesYetToConsumeOutput = new HashSet<>();
        final Set<String> outputPaths = new HashSet<>();
        final Set<String> destroyablePaths = new HashSet<>();
        boolean hasFileInputs;
        boolean hasOutputs;
        boolean hasLocalState;
        boolean hasValidationProblem;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. pkg/log/config_test.go

    	}
    
    	o = DefaultOptions()
    	o.logCallers = "foobar"
    	err = Configure(o)
    	if err != nil {
    		t.Error("Got success, expected failure")
    	}
    
    	o = DefaultOptions()
    	// using invalid filename
    	o.OutputPaths = []string{"//"}
    	err = Configure(o)
    	if err == nil {
    		t.Errorf("Got success, expecting error")
    	}
    
    	o = DefaultOptions()
    	o.ErrorOutputPaths = []string{"//"}
    	err = Configure(o)
    	if err == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. pkg/log/config.go

    	errSink, closeErrorSink, err := zap.Open(options.ErrorOutputPaths...)
    	if err != nil {
    		return nil, nil, nil, err
    	}
    
    	var outputSink zapcore.WriteSyncer
    	if len(options.OutputPaths) > 0 {
    		outputSink, _, err = zap.Open(options.OutputPaths...)
    		if err != nil {
    			closeErrorSink()
    			return nil, nil, nil, err
    		}
    	}
    
    	var sink zapcore.WriteSyncer
    	if rotaterSink != nil && outputSink != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/execution/plan/MissingTaskDependencyDetector.java

            this.inputHierarchy = inputHierarchy;
        }
    
        public void detectMissingDependencies(LocalTaskNode node, TypeValidationContext validationContext) {
            for (String outputPath : node.getMutationInfo().outputPaths) {
                inputHierarchy.getNodesAccessing(outputPath).stream()
                    .filter(consumerNode -> hasNoSpecifiedOrder(node, consumerNode))
                    .filter(MissingTaskDependencyDetector::isEnabled)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. 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)
  9. pkg/log/scope_test.go

    	defaultScope.Error("TestBadWriter")
    }
    
    func BenchmarkLog(b *testing.B) {
    	run := func(name string, f func()) {
    		b.Run(name, func(b *testing.B) {
    			o := testOptions()
    			o.OutputPaths = []string{"/dev/null"}
    			if err := Configure(o); err != nil {
    				b.Fatalf("Got err '%v', expecting success", err)
    			}
    			for n := 0; n < b.N; n++ {
    				f()
    			}
    		})
    	}
    	run("default", func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/bugreport/bugreport.go

    	mkdirOrExit(logDir)
    	f, err := os.Create(logDir)
    	if err != nil {
    		return err
    	}
    	f.Close()
    	op := []string{logDir}
    	opt2 := *opt
    	opt2.OutputPaths = op
    	opt2.ErrorOutputPaths = op
    	opt2.SetDefaultOutputLevel("default", log.InfoLevel)
    
    	return log.Configure(&opt2)
    }
    
    func logRuntime(start time.Time, format string, args ...any) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top