Save Screen (program) output to a file

There is a command line option for logging. The output is saved to screenlog.n file, where n is a number of the screen.
From man pages of screen:

‘-L’ Tell screen to turn on automatic output logging for the windows.

Leave a Comment