feat: log adapter stderr output
The CI broker now logs the standard error output of the adapter, and the adapter exit status, to the broker’s own log. The log messages look like this:
{“msg”:“adapter exit code”,“level”:“DEBG”,“ts”:“2024-08-27T17:38:26.762222386Z”,“exit_code”:1} {“msg”:“adapter stderr”,“level”:“DEBG”,“ts”:“2024-08-27T17:38:26.762289242Z”,“stderr”:“woe be me\n”}
The CI broker now logs the standard error output of the adapter, and the adapter exit status, to the broker’s own log. The log messages look like this:
{“msg”:“adapter exit code”,“level”:“DEBG”,“ts”:“2024-08-27T17:38:26.762222386Z”,“exit_code”:1} {“msg”:“adapter stderr”,“level”:“DEBG”,“ts”:“2024-08-27T17:38:26.762289242Z”,“stderr”:“woe be me\n”}
No GiHub Actions Workflows found.
Split adapter stderr output into lines