Bump some logging statements to DEBUG

Any action that takes captures ends up with
a log that's full of capture write operations,
because each new capture generates 6-10
messages.

I'm moving said messages to DEBUG because I
don't think they are important any more, and
they do clutter up the log.
This commit is contained in:
Richard Bowman 2022-01-13 14:56:18 +00:00
parent 315ee0950b
commit 1339c23757
2 changed files with 9 additions and 9 deletions

View file

@ -175,13 +175,13 @@ class CaptureManager:
def remove_image(self, capture_obj: CaptureObject, capture_id: str):
logging.info("Deleting capture %s", capture_id)
if capture_id in self.images:
logging.info("Deleting capture object %s", capture_obj)
logging.debug("Deleting capture object %s", capture_obj)
del self.images[capture_id]
def remove_video(self, capture_obj: CaptureObject, capture_id: str):
logging.info("Deleting capture %s", capture_id)
if capture_id in self.images:
logging.info("Deleting capture object %s", capture_obj)
logging.debug("Deleting capture object %s", capture_obj)
del self.videos[capture_id]