Pull Request已成功合入, 合并人@CANN-robot
(感谢 GuoWenbo 的贡献)变更摘要
该 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。


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.


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


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
/approveor/lgtm- Commenting
/approveimplies 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. 👍


AI Declaration Check Failed
@GuoWenbo, AI declaration is not compliant. AI tool: Claude
Please check:
- The AI tool and model declared in the PR description must be real.
- Commit messages must include the AI model, and it must be consistent with the PR description. ⚠️


AI Declaration Check Failed
@GuoWenbo, AI declaration is not compliant. AI tool: Claude
Please check:
- The AI tool and model declared in the PR description must be real.
- Commit messages must include the AI model, and it must be consistent with the PR description. ⚠️


/lgtm


当前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
废弃周期
9.2.0 标记废弃,13.0.0 资料与代码一并删除(N+4 major 版本)。
关联
改动类型 / Change Type
测试信息 / Testing
检查清单 / Checklist