Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
根据ASCEND_WORK_PATH环境变量的资料描述,指定路径不存在时会主动创建,且支持设置相对路径 当前测试 export ASCEND_WORK_PATH=wk1/wk2,日志模块的plog日志落盘到了wk1路径,而非预期的wk1/wk2路径
all
export ASCEND_WORK_PATH=wk1/wk2 指定相对路径,该路径未创建且为多级路径
预期按照ASCEND_WORK_PATH的设置路径落盘
1)export ASCEND_WORK_PATH=wk1/wk2,指定相对路径,但是有多级目录结构,plog日志落盘到wk1下。 2)设置export ASCEND_WORK_PATH=wk只有一级目录时,落盘路径正常。 3)指定绝对路径同样也是两级目录,落盘路径正常。
已完成修复
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
根据ASCEND_WORK_PATH环境变量的资料描述,指定路径不存在时会主动创建,且支持设置相对路径
当前测试 export ASCEND_WORK_PATH=wk1/wk2,日志模块的plog日志落盘到了wk1路径,而非预期的wk1/wk2路径
Environment / 环境信息 (Mandatory / 必填)
all
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
export ASCEND_WORK_PATH=wk1/wk2 指定相对路径,该路径未创建且为多级路径
Describe the expected behavior / 预期结果 (Mandatory / 必填)
预期按照ASCEND_WORK_PATH的设置路径落盘
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
1)export ASCEND_WORK_PATH=wk1/wk2,指定相对路径,但是有多级目录结构,plog日志落盘到wk1下。
2)设置export ASCEND_WORK_PATH=wk只有一级目录时,落盘路径正常。
3)指定绝对路径同样也是两级目录,落盘路径正常。
Special notes for this issue/备注 (Optional / 选填)