-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Consume logging config via CLI #57548
Comments
Pinging @elastic/kibana-platform (Team:Platform) |
@restrry what is the scope of this issue? The words: "...at least..." make me think that it might be larger than just adding support for ATM, we only get KP logs from kibana not running in dev mode when we add the full config for the root level logger:
Without If we did introduce a shortcut for the root level logger, what would this look like? (something along the lines of Would we then require the appenders to be passed in too (and throw an error if they aren't) or would we proactively add the other config settings? For example, internally set the root appenders to default and console? Once we remove the legacy logging system, we should be able to introduce cleaner shortcuts (or repurpose the ones folks are already used to using). Until then though, how about just adding support for the full config path as it would be set in the config yml file? |
No, I wouldn't introduce the shortcuts. If it already works, I'd add a note to the logging/README.md on how to reproduce the legacy system behavior (for both CLI and config). Logging configuration via CLI
*note that you have to pass the
Do you mean that a user running Kibana
Could you elaborate, please? |
When I start kibana without adding any config to
I only get legacy platform logs.
This was a follow up question for if we are going to introduce shortcuts. What I meant was using |
Kibana supports 4 logging settings being passed via CLI
kibana/src/cli/serve/serve.js
Lines 136 to 139 in 4e8ab56
We can support at least
logging.root.level
that supersedesquiet
,silent
andverbose
.The text was updated successfully, but these errors were encountered: