#Don't print withExec stdout to logs
1 messages · Page 1 of 1 (latest)
I did find a work around that I posted on this issue as well, but it would be nice if redirectStdout prevented the stdout from showing in the logs
https://github.com/dagger/dagger/issues/8798
SGTM! This is a tricky one I think because the output that you see in the progress comes from the engine OTEL channel and not the executor itself, so I'm not sure how straightforward is to achieve this at the telemetry level per exec operation. @digital magnet might have a better idea 🙏
that's for the executor metadata, correct? IIUC the OP needs disabling the output that gets sent via buildkit's OTEL which I'd think that's something internal?
i.e: they'd still need to get the stout/err via the Dagger method call but they'd like to remove it from the progrock span log output
In the executor link you've shared above are the procinfo.Stdour/err writers the ones that get ultimately get sent via OTEL?