Log: editing a log file, Function, Command format – Spectra Precision ProFlex 800 Reference Manual User Manual
Page 587: Response format

573
Query Command Library
LOG: Editing a Log File
Function
This command is used to edit the specified or current log file.
A log file lists all events related to IP connections with the
receiver.
Command Format
Syntax
$PASHQ,LOG[,d][*cc]
Parameters
Response format
Syntax
The response is formatted as follows:
Date:
Maximum size: x Mb Duration: xx days
hh:mm:ss:
hh:mm:ss:
…
hh:mm:ss:
Parameters
• The first line contains the date when the log file was
created.
• The second line indicates the maximum size (in Mb)
permitted for the file as well as the time, in days, during
which it is kept in memory.
• Each of the lines that follow contains a message that
describes a connection event (time of event, beginning or
end of connection, type of connection, identification of
the connected device).
Example
$PASHQ,LOG*33
Date: 2009-04-08
Maximum size: 1 Mb Duration: 20 days
14:12:34: connect server,stream=I1,port=1001,IP=12.34.87.22
14:15:33: connect client,stream=I2,IP=23.33.43.12,port=7721
Parameter
Description
Range
d
Index number of the log file you want to edit.
If d is omitted, the current log file is edited.
0-900
*cc
Optional checksum
*00-*FF