From c7b6ec88efcf371641a2e2786dd6ad99f05e177e Mon Sep 17 00:00:00 2001 From: Edward Oakes Date: Thu, 10 Dec 2020 18:14:55 -0600 Subject: [PATCH] [serve] Make serve __del__ log DEBUG level (#12766) --- python/ray/serve/api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/ray/serve/api.py b/python/ray/serve/api.py index d5a60f0fc..b6ac3c0ee 100644 --- a/python/ray/serve/api.py +++ b/python/ray/serve/api.py @@ -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):