EventListener loglevel would be more specific #1666
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Expected Behavior
I'd like to have
tkn eventlistener logs <eventlistener-name>
less verbose, only related to something specific.For the moment, changing loglevel can be ok, but does
kubectl patch
survives after every upgrading?If not, solid defaults would be much appreciated.
Actual Behavior
I'm always getting debug-like logs at default info level.
Steps to Reproduce the Problem
I have multiple trigger set with simple CEL filter like following:
This causes verbose CEL logs:
This example puts 1 log from 2 triggers, but actually I get (n-1) logs from n triggers on every request.
I think CEL no match logs would be debug level, as they have little info.
And another case, I got
InvalidArgument
with curl request, as curl sends form-encoded body by default:Actually this request completed successfully, so
info
level can be suitable.But I think
InvalidArgument
would be higher log level, if they omit request body then cause different params from intended-JSON body.Additional Info
Client version: 0.32.0
Pipeline version: v0.50.1
Triggers version: v0.25.0
The text was updated successfully, but these errors were encountered: