Skip to content

Error logs during the start for Legacy Logs API #891

Open
@khrm

Description

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

Additional Info

  • Kubernetes version:

    Output of kubectl version:

    (paste your output here)
    
  • Tekton Pipeline version:

    Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions