18.2 log
- Command: deflog state
- (none)
Same as the log
command except that the default setting for new
windows is changed. Initial setting is `off'.
- 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).
This document was generated
by Davide on March, 6 2002
using texi2html