From: Omid Yoosefi Date: Mon, 15 Dec 2025 19:47:59 +0000 (-0500) Subject: mgr: change cleanup and scanning cephfs connection logs to be less noisy X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a0e6c3b075e6bb39c42cbf4278a60a44b11e8a29;p=ceph.git mgr: change cleanup and scanning cephfs connection logs to be less noisy Fixes: https://tracker.ceph.com/issues/76278 Signed-off-by: Omid Yoosefi --- diff --git a/src/pybind/mgr/mgr_util.py b/src/pybind/mgr/mgr_util.py index fa44e6c56b90..f493c5637b0f 100644 --- a/src/pybind/mgr/mgr_util.py +++ b/src/pybind/mgr/mgr_util.py @@ -227,15 +227,15 @@ class CephfsConnectionPool(object): def cleanup_connections(self) -> None: with self.lock: - logger.info("scanning for idle connections..") + logger.debug("scanning for idle connections...") idle_conns = [] for fs_name, connections in self.connections.items(): logger.debug(f'fs_name ({fs_name}) connections ({connections})') for connection in connections: if connection.is_connection_idle(CephfsConnectionPool.CONNECTION_IDLE_INTERVAL): idle_conns.append((fs_name, connection)) - logger.info(f'cleaning up connections: {idle_conns}') for idle_conn in idle_conns: + logger.info(f'cleaning up connection: {idle_conn}') self._del_connection(idle_conn[0], idle_conn[1]) def get_fs_handle(self, fs_name: str) -> "cephfs.LibCephFS":