bmccluskey / robovac

Add a Eufy RoboVac easily to Home Assistant
Other
115 stars 24 forks source link

Excessive Logging in home assistant logs #18

Open Shaun-Harrison opened 1 year ago

Shaun-Harrison commented 1 year ago

Hello

I've tried setting

    custom_components.robovac.tuyalocalapi: warning
    custom_components.robovac.vacuum: warning

But keep getting this repeated log and others entires in the home assistant logs

Tuya local API Result: {'1': True, '2': False, '5': 'auto', '15': 'completed', '101': False, '102': 'Standard', '103': False, '104': 100, '106': 0, '107': False, '109': 1800, '110': 22, '111': 70, '118': True, '122': 'Nosweep', '131': False, '135': True, '137': 0}

I believe the above should only be logged if info / debug is requested

RefineryX commented 1 year ago

Same here.

I am also experiencing multiple updates per second which is causing thousands of log entries. Example below:

25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 update: RoboVac
25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 status: no_error Sleeping
25/05/2023 20:04:39 status: no_error Sleeping

EDIT: To add additional context, it appears to be adding this only on the DOCKER logs for Home Assistant. The main log 'home-assistant.log' seems fine. Is there anyway to disable this from appearing on the Docker Logs?