[serve] Make serve __del__ log DEBUG level (#12766)

This commit is contained in:
Edward Oakes
2020-12-10 18:14:55 -06:00
committed by GitHub
parent 3c44c0d3e4
commit c7b6ec88ef
+3 -3
View File
@@ -65,9 +65,9 @@ class Client:
def __del__(self):
if not self._detached:
logger.info("Shutting down Ray Serve because client went out of "
"scope. To prevent this, either keep a reference to "
"the client object or use serve.start(detached=True).")
logger.debug("Shutting down Ray Serve because client went out of "
"scope. To prevent this, either keep a reference to "
"the client or use serve.start(detached=True).")
self.shutdown()
def __reduce__(self):