Skip to content
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

Restapi logs are info level that can overload the syslog #86

Closed
prsunny opened this issue Sep 2, 2021 · 0 comments · Fixed by sonic-net/sonic-buildimage#8858
Closed
Assignees

Comments

@prsunny
Copy link
Collaborator

prsunny commented Sep 2, 2021

Some of the heartbeat and Get operation are frequently invoked that it can overload syslog. Request to change the log level to NOTICE

Aug 31 20:30:31.055046 Sonic INFO restapi#supervisord: restapi [  info ] 2021/08/31 20:30:31 request: GET /v1/state/heartbeat StateHeartbeatGet
Aug 31 20:30:31.055046 Sonic  INFO restapi#supervisord: restapi [ trace ] 2021/08/31 20:30:31 acquire server write lock
Aug 31 20:30:31.056240 Sonic INFO restapi#supervisord: restapi [  info ] 2021/08/31 20:30:31 request: GET /v1/config/resetstatus ConfigResetStatusGet
Aug 31 20:30:31.056269 Sonic  INFO restapi#supervisord: restapi [ trace ] 2021/08/31 20:30:31 acquire server write lock
Aug 31 20:30:34.043208 Sonic INFO restapi#supervisord: restapi [ trace ] 2021/08/31 20:30:34 acquire server write lock
Aug 31 20:30:34.043596 Sonic INFO restapi#supervisord: restapi [  info ] 2021/08/31 20:30:34 request: duration 297.44µs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants