Show More
@@ -401,10 +401,8 b' class IPClusterEngines(BaseParallelApplication):' | |||
|
401 | 401 | if self.clean_logs: |
|
402 | 402 | log_dir = self.profile_dir.log_dir |
|
403 | 403 | for f in os.listdir(log_dir): |
|
404 |
if re.match(r'ip(engine|controller) |
|
|
404 | if re.match(r'ip(engine|controller)-.+\.(log|err|out)',f): | |
|
405 | 405 | os.remove(os.path.join(log_dir, f)) |
|
406 | # This will remove old log files for ipcluster itself | |
|
407 | # super(IPBaseParallelApplication, self).start_logging() | |
|
408 | 406 | |
|
409 | 407 | def start(self): |
|
410 | 408 | """Start the app for the engines subcommand.""" |
General Comments 0
You need to be logged in to leave comments.
Login now