Skip to content

New log flag #4659

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
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

New log flag #4659

wants to merge 9 commits into from

Conversation

ShohamBit
Copy link
Contributor

@ShohamBit ShohamBit commented Mar 17, 2025

1. Explain what the PR does

  1. refactor the log flag to align with the new config system

0f0b952 fix PR review comments
823ff4a fix test and tracee-ebpf log flag use
5cebcba update the log flag docs
e96f03c modify the PrepareLogger
bdbe53f fix config test for log flag
2f210c7 modify root flag to the new log format
21e2031 modified logger prepare flag function to align with new config system
02b0d53 modified log config flag to align to the new format

2. Explain how to test it

the flag design is based upon the new flag design, you can view the flag design in #4474
you can test this flag by running make test-unit and see it pass all the modified tests that are based on the old config system which means the same functionality exists with a different setup

3. Other comments

close #4474

Copy link
Member

@geyslan geyslan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShohamBit did a first pass. LMK.

@ShohamBit
Copy link
Contributor Author

@ShohamBit did a first pass. LMK.

Hey @geyslan, I fix your recommendations

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

Successfully merging this pull request may close these issues.

Implement flag parsing for Logging.
2 participants