已合并
docs: 同步 issue768 环境变量改名,并在目录中补充废弃变量条目 #50
GuoWenbo创建于 8月19日
docs: 同步 issue768 环境变量改名,并在目录中补充废弃变量条目 #50
已合并
GuoWenbo创建于 8月19日
GuoWenbo
8月19日

当前PR是否有AI参与:

[x] 否

[.] 是
__1. AI Agent 平台:
__2. AI 模型:
__3. Prompt上下文 :

描述:

runtime 仓 issue768(PR 3919,已合入)将 stdout 环境变量从 ASCEND_SLOG_PRINT_TO_STDOUT 改名为 ASCEND_LOG_PRINT_TO_STDOUT。本次同步修改 docs
仓内对该变量的引用和使用示例。

改动范围(2 个文件、4 处)

docs/zh/env-vars/README.md

  • 日志目录中的链接由旧变量文档改为新变量文档
  • 新增废弃变量条目 ASCEND\_SLOG\_PRINT\_TO\_STDOUT(废弃),指向 runtime 仓
    ASCEND_SLOG_PRINT_TO_STDOUT_deprecated.md。该变量虽已声明废弃但兼容期内仍生效,目录中保留条目便于存量用户查阅;词条文本与目标文档的一级标题保持一致。

docs/zh/ops-lib/appendix/faq_get_aclnn_call_logs.md

  • 文本说明与 bash 示例中的变量名由旧改新

废弃周期

9.2.0 标记废弃,13.0.0 资料与代码一并删除(N+4 major 版本)。

关联

改动类型 / Change Type

测试信息 / Testing

检查清单 / Checklist

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 GuoWenbo 的贡献)
GGuoWenbo
8月19日 创建了 pull request,commit 0076e056
GGuoWenbo
8月19日 关联了issue:[Requirement|需求建议]: ASCEND_SLOG_PRINT_TO_STDOUT环境变量改名
atomgit-bot
atomgit-bot
8月19日 评论:

变更摘要

该 PR 为文档同步更新:runtime 仓 issue768(PR 3919)已将 stdout 日志环境变量从 ASCEND_SLOG_PRINT_TO_STDOUT 改名为 ASCEND_LOG_PRINT_TO_STDOUT,本次同步修改 docs 仓内对该变量的引用与使用示例,并在目录中补充废弃变量条目。涉及 docs/zh/env-vars/README.md 与 docs/zh/ops-lib/appendix/faq_get_aclnn_call_logs.md 两个文件,共 4 处改动(新增 4 行、删除 3 行)。废弃周期为 9.2.0 标记废弃,13.0.0(N+4 major 版本)资料与代码一并删除。

主要改动

  • 日志目录链接更新:docs/zh/env-vars/README.md 日志目录中原指向旧变量文档的链接改为指向新变量 ASCEND_LOG_PRINT_TO_STDOUT 的文档。
  • 新增废弃变量条目:docs/zh/env-vars/README.md 目录中新增 ASCEND_SLOG_PRINT_TO_STDOUT(废弃) 条目,指向 runtime 仓 ASCEND_SLOG_PRINT_TO_STDOUT_deprecated.md;该变量虽已声明废弃但兼容期内仍生效,保留条目便于存量用户查阅,词条文本与目标文档一级标题保持一致。
  • 使用示例改名:docs/zh/ops-lib/appendix/faq_get_aclnn_call_logs.md 中文本说明与 bash 示例里的变量名由旧名 ASCEND_SLOG_PRINT_TO_STDOUT 改为新名 ASCEND_LOG_PRINT_TO_STDOUT。
likedislike
不准确?
CANN-robot
CANN-robot成员
8月19日 评论:

Hi @GuoWenbo, welcome to submitting your first PR to docs!

PR Merge Steps

1. CLA Signing

If the current PR label includes cann-cla/yes, it means you have signed the CLA and can proceed to the next step. If the label includes cann-cla/no, please sign the CLA first. If you have any questions, please refer to the FAQ.

2. CI Check

Please comment /compile to trigger the CI pipeline check. If the CI run is successful, the PR will be tagged with ci-pipeline-passed and you can proceed to the next step. If the CI run fails, the PR will be tagged with ci-pipeline-failed, please check the CI logs to fix the issues in the PR. If you have any questions, please refer to the FAQ.

3. Code Review

After CI passes, please refer to the PR Approval Progress and proactively @ the committers in the table to review the code. After approval, committers will comment /lgtm and /approve. Once the lgtm and approved labels are successfully added, the PR will be merged automatically.

likedislike
atomgit-bot
atomgit-bot
8月19日 评论:

🤖 本次改动均为数据 / 生成 / 二进制文件(如测试用例、锁文件、媒体资源),没有可审查的代码逻辑,已跳过 AI 代码审查。

likedislike
不准确?
CANN-robotCANN-robot成员
8月19日 添加了label:ai-co-authored
CANN-robotCANN-robot成员
8月19日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
8月19日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
For more, you also can visit HICANN.


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/docs ✅ flyswa, lwx1255555 (2/2) ✅ flyswa (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

GuoWenbo, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
GGuoWenbo
8月19日 修改了pull request 的描述
CANN-robotCANN-robot成员
8月19日 添加了label:ai-docs-only
GGuoWenbo
8月19日 修改了pull request 的描述
GuoWenbo
8月19日 评论:

compile

likedislike
GGuoWenbo
8月19日 预合并成功(commit_id: 73a76aae2d16d2ba0080689a7a1aebb596e7ad02)
CANN-robotCANN-robot成员
8月19日 添加了label:ai-compliance-failed
CANN-robot
CANN-robot成员
8月19日 评论:

AI Declaration Check Failed

@GuoWenbo, AI declaration is not compliant. AI tool: Claude

Please check:

  1. The AI tool and model declared in the PR description must be real.
  2. Commit messages must include the AI model, and it must be consistent with the PR description. ⚠️
likedislike
CANN-robotCANN-robot成员
8月19日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
8月19日 评论:

AI Declaration Check Failed

@GuoWenbo, AI declaration is not compliant. AI tool: Claude

Please check:

  1. The AI tool and model declared in the PR description must be real.
  2. Commit messages must include the AI model, and it must be consistent with the PR description. ⚠️
likedislike
CANN-robotCANN-robot成员
8月19日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
8月19日 添加了label:ci-pipeline-passed
GGuoWenbo
8月19日 修改了pull request 的描述
CANN-robotCANN-robot成员
8月19日 删除了label:ai-co-authoredai-docs-onlyai-compliance-failed
lwx1255555成员
8月19日 评论:

/lgtm

likedislike
zangyan成员
8月19日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
8月19日 添加了label:lgtmapproved
CANN-robotCANN-robot成员
8月19日 合入了pull request