Adding a device that isn't always on, without errors filling the log

I have an old android phone I occasionally set up as a cctv webcam and I’d like this to show up in home assistant when it’s on. Unfortunately I don’t turn it on often and home assistant long is filled with:

Error getting new camera image

And

Failed to communicate with IP Webcam

I’m unable to see if there are any actual problems because of this in the log. Is there any way to either remove these errors from the log or to set up a kind of toggle to turn on/off the connection between HA and the camera?

take look at the docs and filter out the logging for the component with the issues.

Unfortunately it shows up in the log as core.py rather than a component. I tried setting the android_ip_webcam to critical but it still has the same logs anyway.