Skip to content

Commit

Permalink
#164: Move logging for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Dec 2, 2020
1 parent eadd9fc commit d0104eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions common/icat/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion common/icat/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit d0104eb

Please sign in to comment.