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

vars(): add exclude_msg_values parameter #505

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

MrAnno
Copy link
Member

@MrAnno MrAnno commented Feb 12, 2025

Depens on #504

Note: vars() lies a little, because it formats both floating and message-tied variables, but NOT ALL message variables as they might have never appeared inside FilterX.

@MrAnno MrAnno requested review from bshifter and sodomelle February 12, 2025 18:18
bazsi
bazsi previously approved these changes Feb 12, 2025
Copy link
Member

@bazsi bazsi left a comment

Choose a reason for hiding this comment

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

Looks good. I was thinking if we needed to exclude non declared variables how would that look?

What if the option was exclude_message_values or something. This is quite ugly as a name, my point is that we probably only need to include declared, floating values

@MrAnno
Copy link
Member Author

MrAnno commented Feb 12, 2025

Let's go with exclude_message_values. We can add exclude_local or exclude_non_declared later.

@MrAnno MrAnno force-pushed the vars-floating-only branch 2 times, most recently from 7cb6b12 to 0977b35 Compare February 12, 2025 21:57
@bazsi
Copy link
Member

bazsi commented Feb 13, 2025

This looks good, albeit we would need to rebase it against main as #504 was merged.

@MrAnno MrAnno force-pushed the vars-floating-only branch from 0977b35 to 72423af Compare February 13, 2025 09:12
@MrAnno MrAnno changed the title vars(): add floating_only parameter vars(): add exclude_message_values parameter Feb 13, 2025
@alltilla alltilla merged commit 0307f6a into axoflow:main Feb 13, 2025
22 checks passed
@MrAnno MrAnno changed the title vars(): add exclude_message_values parameter vars(): add exclude_msg_values parameter Feb 13, 2025
fekete-robert pushed a commit to axoflow/axosyslog-core-docs that referenced this pull request Feb 17, 2025
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.

3 participants