Understanding the contents written to StandardErrorPath and StandardOutPath
marmalodak opened this issue · 1 comments
marmalodak commented
I use StandardOutPath
and StandardErrorPath
to record the progress of things that happen in /usr/local/outset/boot-once/
where I have files like:
1-do-a-thing.sh
2-do-another-thing.sh
3-do-a-third-thing.sh
...
Often the output of 2-do-another-thing.sh
over-writes the output of 1-do-a-thing.sh
. Sometimes only a few messages from the first script are scattered in the output log. I see similar behavior for the other items in boot-once
, that is, the log contents seem to be written not sequentially.
- Is this just my problem? Is this expected behavior?
- How can I prevent this?
- Do the scripts in
boot-once
run in parallel? Can I force each to wait for the preceding one to finish?
marmalodak commented
This was a local problem of feet stepping on other feet.