filter out the 404 log records from django.request (#6324)

This commit is contained in:
Lukas Bockstaller
2026-07-01 11:33:04 +02:00
committed by GitHub
parent 3bf5a5e478
commit e42d3d632f
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -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'],