logowanie dla health
This commit is contained in:
6
app/logging_filter.py
Normal file
6
app/logging_filter.py
Normal 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
|
Reference in New Issue
Block a user