Probably the easiest way is to use the following (starting from Screen version 4.06.02 and up):
screen -L -Logfile log_filename your_command
Probably the easiest way is to use the following (starting from Screen version 4.06.02 and up):
screen -L -Logfile log_filename your_command