screen
pode ser definido para registrar a saída.
Uma maneira de iniciá-lo, dentro de uma sessão screen
em execução, é pressionar Ctrl - a , então : , e então entrar log
.
De man screen
:
log [on|off]
Start/stop writing output of the current window to a file "screenlog.n" in the
window's default directory, where n is the number of the current window.
This filename can be changed with the 'logfile' command. If no parameter is
given, the state of logging is toggled. The session log is appended to the
previous contents of the file if it already exists. The current contents and
the contents of the scrollback history are not included in the session log.
Default is 'off'.
logfile filename
logfile flush secs
Defines the name the log files will get. The default is "screenlog.%n". The
second form changes the number of seconds screen will wait before flushing the
logfile buffer to the file-system. The default value is 10 seconds.