snapcore / spread

Spread - Convenient full-system test (task) distribution
GNU General Public License v3.0
99 stars 58 forks source link

Write failed task logs to separate log files #174

Open lengau opened 1 year ago

lengau commented 1 year ago

It would be nice if we could generate per-task log files for failed tasks, allowing us to easily see the full set of output for that task without having to scroll through potentially a huge amount of messages (especially if the task failed early and there were still dozens of others that ran).

An example of potential usage:

spread -fail-logs ./logs

could put logs of failed tests in a ./logs directory.