From 5f7ed6970d4eafeb047f30e61c2399cdd6559434 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Tue, 29 Nov 2022 04:45:15 +0530 Subject: [PATCH] Move lock aquire log from INFO to DEBUG level (#1737) closes https://github.com/rq/rq/issues/1717 --- rq/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/scheduler.py b/rq/scheduler.py index ba818c8..912f844 100644 --- a/rq/scheduler.py +++ b/rq/scheduler.py @@ -104,7 +104,7 @@ class RQScheduler: """Returns names of queue it successfully acquires lock on""" successful_locks = set() pid = os.getpid() - self.log.info("Trying to acquire locks for %s", ", ".join(self._queue_names)) + self.log.debug("Trying to acquire locks for %s", ", ".join(self._queue_names)) for name in self._queue_names: if self.connection.set(self.get_locking_key(name), pid, nx=True, ex=self.interval + 60): successful_locks.add(name)