Skip to content
Snippets Groups Projects
Commit 84c2cc5f authored by Christian Boettcher's avatar Christian Boettcher
Browse files

get log to show up where needed

parent 24ff5973
Branches
Tags
No related merge requests found
Pipeline #131234 passed
...@@ -6,7 +6,7 @@ from flask_appbuilder import BaseView as AppBuilderBaseView ...@@ -6,7 +6,7 @@ from flask_appbuilder import BaseView as AppBuilderBaseView
from airflow.plugins_manager import AirflowPlugin from airflow.plugins_manager import AirflowPlugin
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
log.setLevel(os.getenv("AIRFLOW__LOGGING__FAB_LOGGING_LEVEL", "INFO")) log.setLevel("DEBUG")
FAB_ADMIN_ROLE = "Admin" FAB_ADMIN_ROLE = "Admin"
FAB_VIEWER_ROLE = "Viewer" FAB_VIEWER_ROLE = "Viewer"
...@@ -32,7 +32,7 @@ class UnityIntegrationView(AppBuilderBaseView): ...@@ -32,7 +32,7 @@ class UnityIntegrationView(AppBuilderBaseView):
@unity.route('/login') @unity.route('/login')
def login(): def login():
redirect_uri = url_for('.authorize', _external=True) redirect_uri = url_for('.authorize', _external=True)
log.debug("Redirect uri is " + str(redirect_uri)) log.debug("Redirect uri is '" + str(redirect_uri) + "'")
return oauth.unity.authorize_redirect(redirect_uri) return oauth.unity.authorize_redirect(redirect_uri)
@unity.route('/authorize') @unity.route('/authorize')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment