diff --git a/cloud/autoscaler.py b/cloud/autoscaler.py index fdd72e7..ff66f66 100644 --- a/cloud/autoscaler.py +++ b/cloud/autoscaler.py @@ -159,7 +159,7 @@ class Autoscaler: log_handle = None if self.log_dir: log_path = os.path.join( - self.log_dir, "autoscale-%s.log" % worker_id) + self.log_dir, "%s.log" % worker_id) log_handle = open(log_path, "ab") proc = subprocess.Popen( cmd, stdout=log_handle, stderr=subprocess.STDOUT,