diff --git a/sky/utils/log_utils.py b/sky/utils/log_utils.py index 16903b41766..46f9e19e03d 100644 --- a/sky/utils/log_utils.py +++ b/sky/utils/log_utils.py @@ -209,8 +209,8 @@ def create_and_symlink_log_dir(log_dir: str): if os.path.islink(symlink_path): os.remove(symlink_path) else: - logger.warning( - 'Failed to create symlink to latest logs at \'{symlink_path}\'. Please remove the existing file/directory.' - ) + logger.warning(( + 'Failed to create symlink to latest logs at \'{symlink_path}\'.' + 'Please remove the existing file/directory.')) return os.symlink(log_dir, symlink_path)