From d0104eb7d41f3fd517da997a565e6e5fe99d0b33 Mon Sep 17 00:00:00 2001 From: Matthew Richards Date: Wed, 2 Dec 2020 11:33:03 +0000 Subject: [PATCH] #164: Move logging for consistency --- common/icat/backend.py | 1 + common/icat/helpers.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/common/icat/backend.py b/common/icat/backend.py index e315b8d3..db4de593 100644 --- a/common/icat/backend.py +++ b/common/icat/backend.py @@ -79,6 +79,7 @@ def refresh(self, session_id): @requires_session_id @queries_records def logout(self, session_id): + log.info("Logging out of the Python ICAT client") self.client.sessionId = session_id return logout_icat_client(self.client) diff --git a/common/icat/helpers.py b/common/icat/helpers.py index d1f8440a..91cbe43d 100644 --- a/common/icat/helpers.py +++ b/common/icat/helpers.py @@ -84,7 +84,6 @@ def logout_icat_client(client): :param client: ICAT client containing an authenticated user :type client: :class:`icat.client.Client` """ - log.info("Logging out of the Python ICAT client") client.logout()