mirror of
https://github.com/pretix/pretix.git
synced 2026-08-25 13:12:00 +00:00
filter out the 404 log records from django.request (#6324)
This commit is contained in:
@@ -624,6 +624,9 @@ LOGGING = {
|
||||
'request_id': {
|
||||
'()': 'pretix.helpers.logs.RequestIdFilter'
|
||||
},
|
||||
'skip_not_found': {
|
||||
'()': 'pretix.helpers.logs.SkipNotFoundFilter',
|
||||
}
|
||||
},
|
||||
'handlers': {
|
||||
'console': {
|
||||
@@ -665,6 +668,7 @@ LOGGING = {
|
||||
'handlers': ['file', 'console', 'mail_admins'],
|
||||
'level': loglevel,
|
||||
'propagate': True,
|
||||
'filters': ['skip_not_found'],
|
||||
},
|
||||
'pretix.security.csp': {
|
||||
'handlers': ['csp_file'],
|
||||
|
||||
Reference in New Issue
Block a user