Skip to content

Create Log for every Event we create #1601

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
guettli opened this issue May 8, 2025 · 0 comments
Open

Create Log for every Event we create #1601

guettli opened this issue May 8, 2025 · 0 comments

Comments

@guettli
Copy link
Collaborator

guettli commented May 8, 2025

/kind feature

It would make debugging easier, when we create a log for every event which gets created.

Creating log+event in Go code is too much repeated code.

I suggest that we create a helper function which does both: Create an Event and create a log.

The current code would show events, if we use loglevel=debug.

But this loglevel creates too much noise, so that we do not enable it in production.

Related #1596

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant