www.delorie.com/gnu/docs/screen/screen_117.html   search  
 
Buy GNU books!


Screen User's Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.2 log

Command: log [state]
(C-a H)
Begins/ends logging of the current window to the 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 logging state 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'.

Command: logfile filename
Command: logfile flush secs
(none)
Defines the name the logfiles 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.

Command: logtstamp [state]
Command: logtstamp after secs
Command: logtstamp string string
(none)
This command controls logfile time-stamp mechanism of screen. If time-stamps are turned `on', screen adds a string containing the current time to the logfile after two minutes of inactivity. When output continues and more than another two minutes have passed, a second time-stamp is added to document the restart of the output. You can change this timeout with the second form of the command. The third form is used for customizing the time-stamp string (`-- %n:%t -- time-stamp -- %M/%d/%y %c:%s --\n' by default).


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)