-
Notifications
You must be signed in to change notification settings - Fork 144
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
Debug level agent logs are generated on upgrading agent to 8.16.0 BC3 when info logging level is selected. #5924
Comments
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
@muskangulati-qasource Please review. |
Secondary review is Done for this ticket! |
You mentioned on Linux, does it mean that this is not happening with other OS? |
Thank you for looking into this issue. We had run the tests on Linux so reported issue on the same. Further we have revalidated this issue on 8.15.4 while upgrading 8.15.3 agent and found it reproducible at our end.
Agent logs: Please let us know if anything else is required from our end. Thanks! |
@pierrehilbert @amolnater-qasource From a quick look in the code, those debug logs are generated by the watcher that runs for the grace period after the upgrade, and from what I can see this is defaulted to debug here called from newWatchCommand... It seems like that there's not log level settings coming from config so watcher keeps logging at debug level... |
Kibana Build details:
Preconditions:
Steps to reproduce:
info
logging level is selected.debug
level log is generated on successful upgrade:[elastic_agent][debug] received state: HEALTHY:Running
Expected Result:
Debug level agent logs should not be generated on upgrading linux agent to 8.16.0 BC3 when info logging level is selected.
Screenshot:
Agent Logs:
elastic-agent-diagnostics-2024-11-04T05-16-32Z-00.zip
The text was updated successfully, but these errors were encountered: