Skip to content

Conversation

@khushijain21
Copy link
Contributor

@khushijain21 khushijain21 commented Jul 29, 2025

What does this PR do?

This PR will allow local loggers to access a list of selectors enabled at debug level.

Why is it important?

This is required so that we can use conditionals based on enabled selectors in beats codebase.

For Ref here. We need to know if a certain selector is enabled and allow new readers based on this.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

Related issues

@khushijain21 khushijain21 changed the title Introduce method on local logger Introduce HasSelector method on local logger Jul 29, 2025
@khushijain21 khushijain21 marked this pull request as ready for review July 29, 2025 06:27
@khushijain21 khushijain21 requested a review from a team as a code owner July 29, 2025 06:27
@khushijain21 khushijain21 requested review from faec and mauri870 and removed request for a team July 29, 2025 06:27
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

@khushijain21 khushijain21 merged commit 61791f1 into elastic:main Jul 29, 2025
5 checks passed
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