fix logs info test=develop (#30071)

revert-31562-mean
gongweibao 4 years ago committed by GitHub
parent a125d6331f
commit 4d2a4bb27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -471,8 +471,8 @@ def start_local_trainers(cluster,
pretty_print_envs(proc_env, ("Distributed Envs", pretty_print_envs(proc_env, ("Distributed Envs",
"Value")))) "Value"))))
logger.info( logger.info(
"details abouts PADDLE_TRAINER_ENDPOINTS can be found in {}/endpoints.log.". "details abouts PADDLE_TRAINER_ENDPOINTS can be found in {}/endpoints.log, and detail running logs maybe found in {}/workerlog.0".
format(log_dir)) format(log_dir, log_dir))
fn = None fn = None
if log_dir is not None: if log_dir is not None:
os.system("mkdir -p {}".format(log_dir)) os.system("mkdir -p {}".format(log_dir))

Loading…
Cancel
Save