Skip to content

Commit 57be1cf

Browse files
committed
refactor(api): disable health check request logging
1 parent a550681 commit 57be1cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tsdfileapi/api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2638,6 +2638,10 @@ def get(self, tenant: str) -> None:
26382638
self.set_status(HTTPStatus.OK.value)
26392639
self.write({"message": "healthy"})
26402640

2641+
def _log(self) -> None:
2642+
# disable logging for health check requests
2643+
pass
2644+
26412645

26422646
class NaclKeyHander(RequestHandler):
26432647
def get(self, tenant: str) -> None:

0 commit comments

Comments
 (0)