You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'filters': {
'request_id': {
'()': 'app.middleware.RequestIDFilter'
}
}
my RequestIDFilter is in app/middleware.py, my logging config is in app/utils/logger.py
The RequestIDFilter is part of django-log-request-id so you shouldn't need to put it in your own code (app/middlware.py) - unless you're using a custom one? Also you might be getting confused between the log filter and the middleware - both are needed but they are separate things. Putting a log filter in a file called middleware.py feels a little odd.
logging filters 'request_id' is app.middleware.RequestIDFilter
The text was updated successfully, but these errors were encountered: