From 0d6a6f528c3681822de0a738739807a438c1a3ed Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Mon, 10 Mar 2025 21:19:46 +0530 Subject: [PATCH] mgr/volumes: correct logger names Fixes: https://tracker.ceph.com/issues/70376 Signed-off-by: Rishabh Dave --- src/pybind/mgr/volumes/fs/async_cloner.py | 2 +- src/pybind/mgr/volumes/fs/async_job.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/volumes/fs/async_cloner.py b/src/pybind/mgr/volumes/fs/async_cloner.py index 1525f57c3f8..0d02eac9ef0 100644 --- a/src/pybind/mgr/volumes/fs/async_cloner.py +++ b/src/pybind/mgr/volumes/fs/async_cloner.py @@ -383,7 +383,7 @@ class Cloner(AsyncJobs): jobs = [j[0] for j in self.jobs[volname]] with lock_timeout_log(self.lock): if SubvolumeOpSm.is_init_state(SubvolumeTypes.TYPE_CLONE, clone_state) and not clone_job in jobs: - logging.debug("Cancelling pending job {0}".format(clone_job)) + log.debug("Cancelling pending job {0}".format(clone_job)) # clone has not started yet -- cancel right away. self._cancel_pending_clone(fs_handle, clone_subvolume, clonename, groupname, status, track_idx) return diff --git a/src/pybind/mgr/volumes/fs/async_job.py b/src/pybind/mgr/volumes/fs/async_job.py index 075fedf20a4..bb5016c4c57 100644 --- a/src/pybind/mgr/volumes/fs/async_job.py +++ b/src/pybind/mgr/volumes/fs/async_job.py @@ -253,7 +253,7 @@ class AsyncJobs(threading.Thread): # wake up cancellation waiters if needed if cancelled: - logging.info("waking up cancellation waiters") + log.info("waking up cancellation waiters") self.cancel_cv.notifyAll() def queue_job(self, volname): -- 2.39.5