diff --git a/python/ray/log_monitor.py b/python/ray/log_monitor.py index b0427b1d4e10..37239950e110 100644 --- a/python/ray/log_monitor.py +++ b/python/ray/log_monitor.py @@ -115,8 +115,7 @@ def update_log_filenames(self): log_file_paths = glob.glob("{}/worker*[.out|.err]".format( self.logs_dir)) # segfaults and other serious errors are logged here - raylet_err_paths = (glob.glob("{}/raylet*.err".format(self.logs_dir)) + - glob.glob("{}/monitor*.err".format(self.logs_dir))) + raylet_err_paths = glob.glob("{}/raylet*.err".format(self.logs_dir)) for file_path in log_file_paths + raylet_err_paths: if os.path.isfile( file_path) and file_path not in self.log_filenames: