papermill icon indicating copy to clipboard operation
papermill copied to clipboard

Write stdout and stderr to same file

Open shaleenb opened this issue 2 years ago • 1 comments

Is it possible to write stdout and stderr to the same file?

I tried passing the same file path to both --stdout-file and --stderr-file but the file contained only stderr after execution.

shaleenb avatar Sep 08 '22 06:09 shaleenb

Ahh looks like we overwrite the file with each stream. We'd need to patch papermill to make that work correctly. For now you'd need to send to separate files and merge the files afterwards.

MSeal avatar Oct 07 '22 00:10 MSeal