logowanie dla health

This commit is contained in:
Mateusz Gruszczyński committed 2025-10-06 08:54:19 +02:00
1 parent 2d4834a2be
commit 9828c9648a
2 files changed
+12 -6

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
import logging
class IgnoreHealth(logging.Filter):
def filter(self, record: logging.LogRecord) -> bool:
msg = record.getMessage()
return "/health" not in msg