-
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
[ML] Remove usage of base action logger in ml actions #50074
Conversation
Pinging @elastic/ml-core (:ml) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Do we want to remove those? I think they're useful debug messages. It's just that they use the master |
I change this PR to use a specific new logger in ml action rather than the base class logger and reverted the removal of the debug messages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@elasticmachine update branch |
usage collector
This reverts commit 91095af3a793e6811b49324182d52897efd81d32.
GetJobStats
,GetDataFrameAnalyticsStats
andGetDatafeedStats
are all called by the telemetry usage collector, these debug level messages can result in a lot of noise and add little value.The default log4j configuration sets the log level to debug for the
org.elasticsearch.action
package, any transport actions that use the logger in the base classTransportAction
will log at this level. Create a logger in the ml actions where required, using the base logger is deprecated anyway so this change removes a few warnings.Also changed the naming from
LOGGER
to the more typicallogger
I also checked the Transforms actions and there are no problems there.
Closes #50056