开发者社区 问答 正文

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

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

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

    2020-03-30 12:25:13
    赞同 展开评论
问答地址: