From 751b9a791657fc14768ea9357e2c0c1fff18ed86 Mon Sep 17 00:00:00 2001 From: JP Swinski Date: Sat, 2 Nov 2024 13:05:33 +0000 Subject: [PATCH] #440 - only log login status message when authenticating to a private cluster --- clients/python/sliderule/sliderule.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/python/sliderule/sliderule.py b/clients/python/sliderule/sliderule.py index 0a277c4d..c451954d 100644 --- a/clients/python/sliderule/sliderule.py +++ b/clients/python/sliderule/sliderule.py @@ -1255,7 +1255,8 @@ def authenticate (ps_organization, ps_username=None, ps_password=None, github_to logger.error("Unable to authenticate %s user to %s" % (user, api)) # return login status - logger.info(f'Login status to {service_url}/{service_org}: {login_status and "success" or "failure"}') + if ps_organization != PUBLIC_ORG: + logger.info(f'Login status to {service_url}/{service_org}: {login_status and "success" or "failure"}') return login_status #