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

Comportment of logger WARNING for pypot.dynamixel.error #91

Open
show0k opened this issue Jun 18, 2015 · 2 comments
Open

Comportment of logger WARNING for pypot.dynamixel.error #91

show0k opened this issue Jun 18, 2015 · 2 comments
Milestone

Comments

@show0k
Copy link
Member

show0k commented Jun 18, 2015

Pypot is flooding logs outputs with Timeout error (at 50Hz). This can cause creation of big files, or filling all the available RAM...
A solution could be to implement an handler on WARNING output, to summarize the outputs.

@pierre-rouanet
Copy link
Contributor

+1

@show0k
Copy link
Member Author

show0k commented Jul 20, 2015

It is not advised, but you can hide the warning logs with this following code:

import logging
dynamixel_logger = logging.getLogger('pypot.dynamixel.error')
dynamixel_logger.setLevel(logging.ERROR)

@pierre-rouanet pierre-rouanet added this to the Next major release milestone Feb 25, 2016
@pierre-rouanet pierre-rouanet assigned ghost Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants