We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17f03e3 commit 4ea9894Copy full SHA for 4ea9894
src/warnet/server.py
@@ -65,7 +65,6 @@ def __init__(self, backend):
65
self.setup_logging()
66
self.setup_rpc()
67
self.logger.info("Started server")
68
- self.app.add_url_rule("/-/healthy", view_func=self.healthy)
69
70
# register a well known /-/healthy endpoint for liveness tests
71
# we regard warnet as healthy if the http server is up
@@ -116,6 +115,8 @@ def setup_logging(self):
116
115
self.logger.info("Logging started")
117
118
def log_request():
+ if "healthy" in request.path:
119
+ return # No need to log all these
120
if not request.path.startswith("/api/"):
121
self.logger.debug(request.path)
122
else:
0 commit comments