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

[FEATURE REQUEST] - Creation of External Logger is undocumented #57586

Open
jynolen opened this issue Jun 8, 2020 · 0 comments
Open

[FEATURE REQUEST] - Creation of External Logger is undocumented #57586

jynolen opened this issue Jun 8, 2020 · 0 comments
Labels
Feature new functionality including changes to functionality and code refactors, etc.
Milestone

Comments

@jynolen
Copy link
Contributor

jynolen commented Jun 8, 2020

Describe the solution you'd like
The documentation here (https://docs.saltstack.com/en/latest/ref/configuration/logging/handlers/index.html#external-logging-handlers) describe the list of external logger defined out of the box of salt
But this is undocumented that it is possible to create new loggers in extmod folder by putting
log_handlers subfolder

Additional context
Taking logstash as exemple external logging requires both __virtual__() , setup_handlers() functions to operate.
setup_handlers() return a valid object that respect logging.handler interface

@jynolen jynolen added the Feature new functionality including changes to functionality and code refactors, etc. label Jun 8, 2020
@frogunder frogunder added this to the Approved milestone Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature new functionality including changes to functionality and code refactors, etc.
Projects
None yet
Development

No branches or pull requests

2 participants