fix: logging config - reduce verbosity and duplication
CI / lint (push) Failing after 21s
CI / test (3.11) (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped

This commit is contained in:
David Perl
2026-07-15 14:08:59 +02:00
parent 443b6035ba
commit c39a2eada4
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -17,9 +17,11 @@ class IgnoreSuccessfulStatusAccessFilter(logging.Filter):
'"POST /scan/smart_params HTTP/1.1" 200',
)
_SUPPRESSED_EXPECTED_403_MESSAGES = (
'"GET /sse/face_detection HTTP/1.1" 403',
'"GET /sse/automation_progress HTTP/1.1" 403',
'"POST /scan/smart_params HTTP/1.1" 403'
)
def filter(self, record: logging.LogRecord) -> bool:
@@ -42,4 +42,4 @@ loggers:
root:
level: DEBUG
handlers: [console]
handlers: []