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

Make filtered aggregation possible #3677

Merged
merged 3 commits into from Nov 20, 2023

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Nov 7, 2023

Close: #3665

1. Explain what the PR does

7f02099 fix(logger): ensure full lock when flushing
b733031 chore(logger): reuse caller info
45974c8 feat(logger): make filtered aggregation possible

2. Explain how to test it

Insert a logger.Debugw("raw") in a hotpath and run:

sudo ./dist/tracee -l debug -l filter:msg=raw -l aggregate -o none

3. Other comments

Copy link
Contributor

@rafaeldtinoco rafaeldtinoco left a comment

Choose a reason for hiding this comment

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

LGTM

@rafaeldtinoco rafaeldtinoco merged commit 33622a1 into aquasecurity:main Nov 20, 2023
31 checks passed
@geyslan geyslan deleted the 3665-log-filter-aggregate branch November 28, 2023 13:16
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.

Log filter doesn't work with aggregate
2 participants