-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
TransportMasterNodeAction debug messages #50056
Comments
Pinging @elastic/ml-core (:ml) |
We'll surely move the log message to a more suitable place.
Licensing does not affect what gets loaded as far as I understand. We check the license in specific API calls. But we want the flexibility of being able to load the plugin as that allows different features in the plugin to be licensed differently (e.g. basic features). |
Yes, this is true, and we definitely don't want to change that. For example, someone who starts with a platinum license, creates some ML jobs, then downgrades to a gold license would be very frustrated if they then couldn't delete the jobs. So APIs like delete ML job are available and perform the expected action with a gold license. The feature table simplifies this down to "ML is platinum" because, for example, the delete ML job is pretty useless if you cannot create a job in the first place, and from a high level perspective it would be extremely misleading to say "some ML features are gold". But in the low level details it makes sense for the info/maintenance/cleanup bits of ML to work with gold. |
Note that #46431 adjusts the logger for this message to |
It does but only on |
Ah I was wondering why the message was logged at all as log4j2.properties specifies a different package
but this class and |
Adjusts the subclasses of `TransportMasterNodeAction` to use their own loggers instead of the one for the base class. Relates elastic#50056. Partial backport of elastic#46431 to 7.x.
Yes, backporting those logging adjustments seems like a good idea. I opened #50076 for that. |
A few things related to the
o.e.a.s.m.TransportMasterNodeAction
logging messages.User reported the following debug messages showing up after upgrading to 7.5.0 (from 7.3):
These are showing up in the logs because Elasticsearch has the logger for
org.elasticsearch.action
set to DEBUG by default. It seems like we may want to use a different package to log these under?Also, this user has a Gold license but their nodes had ML enabled (explicitly via
xpack.ml.enabled: true
) because they were previously testing ML. After settingxpack.ml.enabled: false
, the above messages stopped showing up (expected). Should a gold license have disabled this type of monitoring stats for ML even whenxpack.ml.enabled
is set to true?The text was updated successfully, but these errors were encountered: