Writes a message to the Open Data Services log file.
int srv_log (
SRV_SERVER * server,
BOOL datestamp,
DBCHAR * msg,
int msglen );
where
SUCCEED or FAIL.
The default name of the log file is SRV.LOG. The name of the log file can be set with srv_config; the name of the log file can be found with srv_sfield.
The log file can be changed at any time. If the log file is changed, the current log file, if any, is closed and a new log file is opened.
Messages are always added to a log file if one exists.
This entry | For information about |
---|---|
srv_config | Setting the server configuration parameters |
SRV_GETSERVER | Accessing a client's Open Data Services structure |
srv_sfield | Returning a field from an SRV_SERVER structure |