Ejemplo n.º 1
0
 def set_logstream_level(self, level: int):
     logger.setLevel(level)
     req = ray_client_pb2.LogSettingsRequest()
     req.enabled = True
     req.loglevel = level
     self.request_queue.put(req)
     self.last_req = req
Ejemplo n.º 2
0
 def disable_logs(self) -> None:
     req = ray_client_pb2.LogSettingsRequest()
     req.enabled = False
     self.request_queue.put(req)