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

Allow plugins to register custom logging appenders #53256

Closed
pgayvallet opened this issue Dec 17, 2019 · 1 comment
Closed

Allow plugins to register custom logging appenders #53256

pgayvallet opened this issue Dec 17, 2019 · 1 comment
Labels
enhancement New value added to drive a business result Feature:New Platform stale Used to mark issues that were closed for being stale Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@pgayvallet
Copy link
Contributor

Now that NP logging system follows a log4j-like api, would be nice if plugins could register their own logging appenders to be used.

API would be something like

coreSetup.logging.registerAppender(appender, appenderConfigSchema);

The main difficulty for this one is the actual lifecycle timing: As logging configuration is loader/initialized before the plugins run their setup phase, the additional appenders will not be registered yet, resulting in an error if the appender is used in the logging configuration.

Not sure what the best way to address this.

@pgayvallet pgayvallet added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform enhancement New value added to drive a business result labels Dec 17, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@joshdover joshdover added this to 7.8 - Tentative in kibana-core [DEPRECATED] Mar 16, 2020
@joshdover joshdover mentioned this issue Mar 17, 2020
30 tasks
@joshdover joshdover removed this from 7.8 - Tentative in kibana-core [DEPRECATED] Mar 24, 2020
@joshdover joshdover added the stale Used to mark issues that were closed for being stale label Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:New Platform stale Used to mark issues that were closed for being stale Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

3 participants