diff --git a/frigate/log.py b/frigate/log.py index fc92fd472..475be50d4 100644 --- a/frigate/log.py +++ b/frigate/log.py @@ -22,7 +22,9 @@ LOG_HANDLER.setFormatter( ) LOG_HANDLER.addFilter( - lambda record: not record.msg.startswith("You are using a scalar distance function") + lambda record: not record.getMessage().startswith( + "You are using a scalar distance function" + ) )