robotology / yarp-device-ultrapython

Contains a YARP device driver supporting the UltraPython cameras
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Cli bugfix #12

Closed triccyx closed 3 years ago

triccyx commented 3 years ago

Some minor problems on the application should be resolved:

mfussi66 commented 3 years ago

Regarding the second point, The yarp logging prints are caused by the device openings. Therefore, I'm not sure if the cli app can be modified to suppress yarp logs.

However, I took a look at the docs and found some useful info (see Configuration): http://www.yarp.it/git-master/yarp_logging.html

" It is possible to change this by using (environment variable) YARP_QUIET to change the minimum level to [WARNING],"

Or maybe we could forward the logging towards the yarplogger, by running the app with "yarprun --log ".

triccyx commented 3 years ago

Thanks, @mfussi66 for the hint! Regarding the second point, I tried with YARP_QUIET, YARP_DEBUG_ENABLE, YARP_DEBUG_LOG_ENABLE. The situation is better but still, some logs are printed. Quite strange.