From 320ee3c457a87d7186fb9bc715314d628d8894fa Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Wed, 29 Jan 2020 15:12:46 +0100 Subject: [PATCH] adapters: only warn if lookup attribute is empty (#39381) --- mellon/adapters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mellon/adapters.py b/mellon/adapters.py index 415a874..a895892 100644 --- a/mellon/adapters.py +++ b/mellon/adapters.py @@ -369,7 +369,7 @@ class DefaultAdapter(object): continue values = saml_attributes.get(saml_attribute) if not values: - logger.error('looking for user by saml attribute %r and user field %r, skipping because empty', + logger.warning('looking for user by saml attribute %r and user field %r, skipping because empty', saml_attribute, user_field) continue ignore_case = line.get('ignore-case', False)