Skip to content
Snippets Groups Projects
Commit 3388c4dc authored by Art's avatar Art :lizard:
Browse files

Change the logging a bit.

parent c3d416d1
Branches
No related tags found
No related merge requests found
...@@ -21,8 +21,6 @@ class SSOAuthConfig(AppConfig): ...@@ -21,8 +21,6 @@ class SSOAuthConfig(AppConfig):
logger.error("SSO will not work. {ec}: {e}".format(ec=e.__class__.__name__, e=str(e),)) logger.error("SSO will not work. {ec}: {e}".format(ec=e.__class__.__name__, e=str(e),))
# default groups # default groups
post_migrate.connect(self.post_migrate_callback, sender=self) post_migrate.connect(self.post_migrate_callback, sender=self)
# ...
logger.warning("Need to ensure user.has_usable_password is False")
@staticmethod @staticmethod
def post_migrate_callback(*args, **kwargs): def post_migrate_callback(*args, **kwargs):
......
...@@ -11,9 +11,10 @@ def get_idp_runtime_info(meta_url): ...@@ -11,9 +11,10 @@ def get_idp_runtime_info(meta_url):
""" Grab data directly from the running IDP instance """ """ Grab data directly from the running IDP instance """
# fetch the meta # fetch the meta
try: try:
logger.info("Fetching IDP meta: {0}".format(meta_url))
io = urllib.request.urlopen(meta_url, timeout=10) io = urllib.request.urlopen(meta_url, timeout=10)
except Exception as e: except Exception as e:
logger.error("Could not download IDP meta.") logger.error("Could not download IDP meta: {0}".format(meta_url))
raise e raise e
# parse the xml # parse the xml
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment