write the output to a file so that you can use something like baretail to make sense of it