scds_syslog - 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 the following:
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()
Include file
Library
See attributes (5) for descriptions of the following attributes:
|
printf (3C) , scds_syslog_debug(3HA), scha_cluster_getlogfacility(3HA), syslog (3C) , syslog.conf (4) , attributes (5)