42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>The Commandlog</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>The Commandlog</H1>
|
|
<P>
|
|
The commandlog is a file where all communication with clients
|
|
having user or manager privilege is logged. This log allows to retrace each
|
|
step of an experiment. This log is usually switched off and must be
|
|
configured by the instrument manager. There exists a special command,
|
|
commandlog, which allows to control this log file.
|
|
<DL>
|
|
<DT>commandlog new filename
|
|
<DD>starts a new commandlog writing to filename. Any prior files will be
|
|
closed. The log file can be found
|
|
in the directory specified by the ServerOption LogFileDir. Usually this is
|
|
the log directory.
|
|
<DT>commandlog
|
|
<DD>displays the status of the commandlog.
|
|
<DT>commandlog close
|
|
<DD>closes the commandlog file.
|
|
<DT>commandlog auto
|
|
<DD>Switches automatic log file creation on. This is normally switched on.
|
|
Log files are written to the log directory of the instrument account. There
|
|
are time stamps any hour in that file and there is a new file any 24 hours.
|
|
<DT>commandlog tail n
|
|
<DD>prints the last n entries made into the command log. n is optional and defaults to 20. Up to 1000 lines are held in an internal buffer for this command.
|
|
</DL>
|
|
</P>
|
|
</BODY>
|
|
</HTML>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|