开发者社区 问答 正文

程序运行时的 stdout 和 stderr 是实时输出的吗?

程序运行时的 stdout 和 stderr 是实时输出的吗?

展开
收起
游客bnlxddh3fwntw 2020-03-04 15:21:29 519 分享 版权
1 条回答
写回答
取消 提交回答
  • 如果使用了 StdoutRedirectPath 和 StderrRedirectPath 来重定向标准输出和标准错误到 OSS,BatchCompute 系统会截获程序产生的 stdout 和 stderr 并周期性的把缓冲数据上传到 OSS。上传周期是 30 秒或者当累计缓冲数据达到 1MB。

    2020-03-04 15:21:38
    赞同 展开评论
问答地址: