Revert "Pipe monitor.err logs to driver" (#13574)

This reverts commit a0d08c2cc6.
This commit is contained in:
Eric Liang 2021-01-20 00:29:19 -08:00 committed by GitHub
parent b2a6e55289
commit d0f224d5cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -125,8 +125,8 @@ class LogMonitor:
log_file_paths = glob.glob(f"{self.logs_dir}/worker*[.out|.err]")
# segfaults and other serious errors are logged here
raylet_err_paths = glob.glob(f"{self.logs_dir}/raylet*.err")
# The .log file contains autoscaler events, the .err file errors.
monitor_log_paths = glob.glob(f"{self.logs_dir}/monitor*[.log|.err]")
# monitor logs are needed to report autoscaler events
monitor_log_paths = glob.glob(f"{self.logs_dir}/monitor.log")
# If gcs server restarts, there can be multiple log files.
gcs_err_path = glob.glob(f"{self.logs_dir}/gcs_server*.err")
for file_path in (log_file_paths + raylet_err_paths + gcs_err_path +

View file

@ -995,7 +995,7 @@ def print_worker_logs(data: Dict[str, str], print_file: Any):
else:
return colorama.Fore.CYAN
if data["pid"] == "autoscaler" and not data["is_err"]:
if data["pid"] == "autoscaler":
pid = "{} +{}".format(data["pid"], time_string())
lines = filter_autoscaler_events(data["lines"])
else: