Skip to content

Commit

Permalink
[autoscaler] LoadMetrics missed logger.debug (#12714)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ameer Haj Ali authored Dec 10, 2020
1 parent a9da4f3 commit 2f8e308
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/ray/autoscaler/_private/load_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ def prune_active_ips(self, active_ips):
def prune(mapping):
unwanted = set(mapping) - active_ips
for unwanted_key in unwanted:
logger.info("LoadMetrics: "
"Removed mapping: {} - {}".format(
unwanted_key, mapping[unwanted_key]))
# TODO (Alex): Change this back to info after #12138.
logger.debug("LoadMetrics: "
"Removed mapping: {} - {}".format(
unwanted_key, mapping[unwanted_key]))
del mapping[unwanted_key]
if unwanted:
# TODO (Alex): Change this back to info after #12138.
Expand Down

0 comments on commit 2f8e308

Please sign in to comment.