logowanie dla health
This commit is contained in:
1 parent
2d4834a2be
commit
9828c9648a
2 files changed
+12
-6
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user