From 031c7c8a4a09f74faad35fbeba15a69589e876ed Mon Sep 17 00:00:00 2001 From: Eric Liang Date: Wed, 11 Sep 2019 17:59:59 -0700 Subject: [PATCH] fix --- python/ray/log_monitor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: