-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[New Platform / LoggerFactory] Debug messages are not appearing #55456
Comments
Reproducing the issue with a simpler test. This should enable debug logging for Reporting in kibana.yml: Add a debug log and info in
|
Pinging @elastic/kibana-platform (Team:Platform) |
Hi, just want to call out that this is blocking |
@tsullivan In your example you don't have |
That is correct. If my logging configuration in kibana.yml looks like:
Any log line with the This is a good alternative to enabling full verbose logging for all parts of Kibana, when all I care about is verbose logging for Reporting. |
Since the workaround for this issue is just to enable plain verbose logging, I'll take off the blocker label. But I think it's important to have some way of whitelisting logging tags so they'd be logged even if they are low-level. |
This actually creates a @joshdover I don't know very well our implementation, but we follow more or less log4j api, isn't the solution just to declare a specific logger for |
We will follow when #41956 lands. |
Once #41956 is done and we enable the new logging configuration, this will be possible. However, I also think it's important that logging configurations don't break during 7.x, so if this logging config worked before migrating to the New Platform, then it needs to be fixed as well. I'm working on this today and should have a fix up soon. |
Hi, this issue has re-appeared in the past couple of weeks. My logging config:
"Debug" level Reporting logs are not showing up. |
@restrry I know the |
@tsullivan my bad, I forgot to warn you that NP logging config is available and I removed logging:
loggers:
- context: reporting
appenders: [console]
level: debug More about NP logging config https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.md |
In #55442 Reporting Services team is re-instrumenting the plugin to use the new logging service from the New Platform.
In that test branch, I see almost all of the log messages that can be seen in master, except for debug-level messages.
CSV export has a few debug messages. In master, a CSV export job could log this:
In the New Platform logger, only the info log messages appear:
The text was updated successfully, but these errors were encountered: