Skip to content

Remove "Accurate CPU counts not available on platform" log spam on MacOS at the debug level#266

Merged
cmacknz merged 2 commits intoelastic:mainfrom
cmacknz:fix-num-cpu-log-spam
Oct 14, 2025
Merged

Remove "Accurate CPU counts not available on platform" log spam on MacOS at the debug level#266
cmacknz merged 2 commits intoelastic:mainfrom
cmacknz:fix-num-cpu-log-spam

Conversation

@cmacknz
Copy link
Copy Markdown
Member

@cmacknz cmacknz commented Oct 10, 2025

See elastic/beats#47054. The removed debug log generated 10s to 100s of lines of log spam in Metricbeat and Elastic Agent logs at the debug level on my MacOS machine. We can see that numCPU isn't implemented on a platform by inspection in the code, we don't need a log for it.

Also for some reason the notice file was out of date, so that is updated too.

Copy link
Copy Markdown
Member

@mauri870 mauri870 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, pending Pierre's comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants