This plugin lets you stream console output into a file.
Start recording your console output by right clicking and pressing "Save output to file..."