From: Rishabh Dave Date: Mon, 10 Mar 2025 15:49:46 +0000 (+0530) Subject: mgr/volumes: correct logger names X-Git-Tag: v20.3.0~340^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F62203%2Fhead;p=ceph.git mgr/volumes: correct logger names Fixes: https://tracker.ceph.com/issues/70376 Signed-off-by: Rishabh Dave --- diff --git a/src/pybind/mgr/volumes/fs/async_cloner.py b/src/pybind/mgr/volumes/fs/async_cloner.py index 1525f57c3f81..0d02eac9ef07 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 075fedf20a46..bb5016c4c574 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):