Thinklogical Configuring the TLX ASCII Interface User Manual
Page 11

®
Configuring the TLX ASCII Interface
8
Rev. A - July, 2015
Log File Debugging Entries
When debugging is turned on, several types of messages are written to the system log file:
/var/log/api
.
For example, below are listed five commands that were sent to a TLX320 Matrix Switch. Below
those commands is a snippet of the log file showing the corresponding log entries. The first line
in the log file records the event that enabled logging.
Ci0150o0151
Si0150
So0151
Do0151
Ci0312o0001
imxs tlxapi[1851]: caught signal SIGUSR1 (10), turn on api debugging
imxs tlxapi[1851]: command: Ci0150o0151
response: R0000OK#Ci0150o0151
imxs tlxapi[1851]: command: Si0150
response: R0000OKI0150O0151#Si0150
imxs tlxapi[1851]: command: So0151
response: R0000OKI0150O0151#So0151
imxs tlxapi[1851]: command: Do0151
response: R0000OK#Do0151
imxs tlxapi[1851]: command: Ci0312o0001
response: R0000OK#Ci0312o0001
These log entries list the command that was received and the response that was sent back to
the sender.
The log files contain other system related messages and are a valuable aid in troubleshooting.
Linux offers the means to send these log file entries over the network to another system. Further
information may be found in the document:
Switch_Interfaces
.
A Note to Telnet Users
By default, tlxapi does not send a CR on each line. This is inherent in the Windows telnet client
software. The API, however, has a command to enable the sending of CR's. This command is
XCRON. If your telnet output from tlxapi is displayed incorrectly on the screen, Thinklogical
recommends using the XCRON command.