Using logging filters from edx-django-utils (#25492)
The UserIdFilter and RemoteIpFilter logging filter classes were moved from edx-platform to edx-django-utils for more distributed use. This updated removes those classes from edx-platform, and references their counterparts in edx-django-utils. ENT-3494
This commit is contained in:
@@ -51,10 +51,10 @@ def get_logger_config(log_dir,
|
||||
'()': 'django.utils.log.RequireDebugFalse',
|
||||
},
|
||||
'userid_context': {
|
||||
'()': 'openedx.core.djangoapps.util.log_utils.UserIdFilter',
|
||||
'()': 'edx_django_utils.logging.UserIdFilter',
|
||||
},
|
||||
'remoteip_context': {
|
||||
'()': 'openedx.core.djangoapps.util.log_utils.RemoteIpFilter',
|
||||
'()': 'edx_django_utils.logging.RemoteIpFilter',
|
||||
}
|
||||
},
|
||||
'handlers': {
|
||||
|
||||
Reference in New Issue
Block a user