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

Set different debug levels for each module #8500

Open
vikman90 opened this issue May 4, 2021 · 0 comments
Open

Set different debug levels for each module #8500

vikman90 opened this issue May 4, 2021 · 0 comments
Labels
type/enhancement New feature or request

Comments

@vikman90
Copy link
Member

vikman90 commented May 4, 2021

As a user, I need to be able to enable different levels of logging for each module.

For instance, debug-1 in FIM, debug-2 in Vulnerability Detector, and no debug logs in the rest of modules.

We may need to define a new option in each module, like <debug>. For instance:

<syscheck>
  <debug>1</debug>
</syscheck>
<vulnerability-detector>
  <debug>2</debug>
</vulnerability-detector>

The default level shall be 0.

Caveats

  • Shall we be able to define a global debug level?
  • Should this new option be changeable by the shared configuration?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant