The system logger is a TCP connection oriented iterative server that logs messages to a centralized log file. There are also server commands that manipulate the server log file.
Under the Unix platform, the system log server can be built (compiled and linked) using the mksys_log script. Under the Windows platform, it is assumed that you are using a compiler/linker with an IDE so compile/link batch files are not necessary.
The system log server depends on the following header files:
The header file sys_log.h contains the definitions of the send and receive codes for the system log server.
The system log server uses string data to send and reply. The first word in the string is always the send or receive code.
A send code is sent by the client application to the system log server. Here is a list of the send codes with a description of each one.
A reply code is the first part of the string that the system log server sends back to the client application. Here is a list of the reply codes with a description of each one.
When you build a client application that uses the system log server, you do not need to know all the send and reply codes. The system logger API contains all the functions to perform system logger actions