Use structlogger
This commit is contained in:
parent
2f8682163e
commit
3917def262
|
|
@ -12,6 +12,7 @@
|
|||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.26.1",
|
||||
"pinia": "^2.0.13",
|
||||
"vue": "^3.2.31",
|
||||
"vue-i18n": "^9.1.9",
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@ export default [
|
|||
{
|
||||
path: ':id',
|
||||
component: LearningPathOverview,
|
||||
}
|
||||
},
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import logging
|
||||
import structlog as structlog
|
||||
from authlib.integrations.base_client import OAuthError
|
||||
from django.conf import settings
|
||||
from django.shortcuts import redirect
|
||||
|
|
@ -8,7 +8,7 @@ from django.contrib.auth import login as dj_login, get_user_model
|
|||
from vbv_lernwelt.sso.client import oauth
|
||||
from vbv_lernwelt.sso.jwt import decode_jwt
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logger = structlog.get_logger(__name__)
|
||||
|
||||
OAUTH_SUCCESS_REDIRECT = 'profile'
|
||||
OAUTH_FAIL_REDIRECT = 'login-error'
|
||||
|
|
|
|||
Loading…
Reference in New Issue