tektoncd / results

Long term storage of execution results.
Apache License 2.0
78 stars 74 forks source link

Error logs during the start for Legacy Logs API #891

Open khrm opened 2 hours ago

khrm commented 2 hours ago

Expected Behavior

No error logs should be printed while using Logs API.

Actual Behavior

{"level":"debug","ts":1731843388.1977723,"caller":"plugin/server.go:58","msg":"LOGS_TYPE: s3"}
{"level":"error","ts":1731843388.1978035,"caller":"plugin/plugin_logs.go:394","msg":"unsupported type of logs given for plugin","stacktrace":"github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.(*LogServer).setLogPlugin\n\t/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/plugin_logs.go:394\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2/plugin.NewLogServer\n\t/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/plugin/server.go:61\ngithub.com/tektoncd/results/pkg/api/server/v1alpha2.New\n\t/go/src/github.com/tektoncd/results/pkg/api/server/v1alpha2/server.go:101\nmain.main\n\t/go/src/github.com/tektoncd/results/cmd/api/main.go:195\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:271"}

Steps to Reproduce the Problem

1. 2. 3.

Additional Info

khrm commented 2 hours ago

/assign @khrm