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:
Mike OConnell
2020-11-02 21:40:59 -05:00
committed by GitHub
parent acd84598c9
commit dbf6ef22df
3 changed files with 3 additions and 37 deletions

View File

@@ -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': {