- write a message to the system log
cc [flags…] -I /usr/cluster/include file -L /usr/cluster/lib -l dsdev #include <rgm/libdsdev.h> void scds_syslog(int priority, const char*format...
The scds_syslog() function writes a message to the system log. It uses the facility returned by thescha_cluster_getlogfacility(3HA) function. You can forward these messages to appropriate log files and users. See syslog.conf(4) for more information.
All syslog messages are prefixed with: SC[<resourceTypeName>,<resourceGroupName>,<resourceName>,<methodName>
Caution - Messages written to the system log are not internationalized. Do not use gettext() or other message translation functions in conjunction with this function.
The following parameters are supported:
Message priority, as specified by syslog(3C)
Message format string, as specified by printf(3C)
Variables, indicated by the format parameter, as specified by printf()
See attributes(5) for descriptions of the following attributes: