- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for OutputPaths (0.15 sec)
-
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) -
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) -
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) -
subprojects/core/src/main/java/org/gradle/execution/plan/LocalTaskNode.java
mutations.outputPaths.add(outputLocation.getAbsolutePath()); mutations.hasOutputs = true; }); } private void addLocalStateFilesToMutations(FileCollection localStateFiles) { final MutationInfo mutations = getMutationInfo(); localStateFiles.forEach(file -> { mutations.outputPaths.add(file.getAbsolutePath());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 16 23:29:30 UTC 2023 - 10.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
subprojects/core/src/main/java/org/gradle/execution/plan/DefaultFinalizedExecutionPlan.java
} else { return !invalidNodeRunning; } } private boolean mutationConflictsWithOtherNodes(Node node, MutationInfo mutations) { Set<String> nodeOutputPaths = mutations.outputPaths; Set<String> nodeDestroysPaths = mutations.destroyablePaths; if (nodeOutputPaths.isEmpty() && nodeDestroysPaths.isEmpty()) { return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 28 21:49:39 UTC 2022 - 28.1K bytes - Viewed (0) -
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)