-
Notifications
You must be signed in to change notification settings - Fork 29
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
Improve debuggablity #116
Comments
If it make sense which i think so. please assign to me i can work on this. i was exploring how to start on this repo i think this could be a good issue to start |
This is great! Thanks for volunteering. |
@yue-fred-gao thanks for assigining the issue.
any more further input will be appreciated thanks |
Hi @alkama-hasan, I feel SWSS_LOG_ENTER doesn't give much information but can be very distracting by overloading log buffers. So I think we can leave them as is. For your second question, not all logs are tied to SaiVppXlate API calls. Some of the logs are used to record important decisions. For example, if we decide not to program a route, we need to record the reason and decision. logs from SaiVppXlate.c should offset some need to log from callers in platform/sarvpp/vpplib so caller doesn't need to log the request and result any more. I hope this answers your question. |
Debuggability at SONIC-VPP SAI layer is poor. If we turn on syncd debug log, it becomes too chatty because that's the level logged by SWSS_LOG_ENTER. And the latter doesn't print arguments. Also, major operations are not logged either.
Proposals
The text was updated successfully, but these errors were encountered: