Skip to content

Commit 3101f14

Browse files
urihoeniggkirok
authored andcommitted
IG-12749: Remove healthz success logging (#4)
1 parent 0430be8 commit 3101f14

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spark-ui-proxy.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ def do_POST(self):
8989
postData = self.rfile.read(length)
9090
self.proxyRequest(postData)
9191

92+
def log_request(self, code='-', size='-'):
93+
if "GET /healthz" in self.requestline and 200 == code:
94+
return
95+
super(ProxyHandler, self).log_request(code, size)
96+
9297
def proxyRequest(self, data):
9398
targetHost, path = self.extractUrlDetails(self.path)
9499
targetUrl = "http://" + targetHost + path

0 commit comments

Comments
 (0)