Skip to content
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

Improve logging #40

Merged
merged 1 commit into from
May 14, 2024
Merged

Improve logging #40

merged 1 commit into from
May 14, 2024

Conversation

javierhonduco
Copy link
Owner

Fix the log verbosity for the userspace program to let the user select the level they want to filter by. This also replaces the previous description which wasn't clear enough.

Add two other flags to set logging of the libbpf library which also contains verifier errors, as well as for the BPF programs themselves. By default they are turned off to reduce noise and performance overhead.

Test Plan

Ensured the logging was off by default and could be enabled passing the right flags.

Fix the log verbosity for the userspace program to let the user select
the level they want to filter by. This also replaces the previous description
which wasn't clear enough.

Add two other flags to set logging of the libbpf library which also
contains verifier errors, as well as for the BPF programs themselves. By
default they are turned off to reduce noise and performance overhead.

Test Plan
=========

Ensured the logging was off by default and could be enabled passing the
right flags.
@javierhonduco javierhonduco merged commit 7a12470 into main May 14, 2024
8 checks passed
@javierhonduco javierhonduco deleted the improve-logging-experience branch May 14, 2024 11:37
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

Successfully merging this pull request may close these issues.

1 participant