pypot icon indicating copy to clipboard operation
pypot copied to clipboard

Comportment of logger WARNING for pypot.dynamixel.error

Open show0k opened this issue 9 years ago • 2 comments

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.

show0k avatar Jun 18 '15 18:06 show0k

+1

pierre-rouanet avatar Jun 19 '15 13:06 pierre-rouanet

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)

show0k avatar Jul 20 '15 15:07 show0k