|
The scds_syslog_debug() function writes a debugging
message to the system log. It uses the facility returned by the scha_cluster_getlogfacility(3HA) function.
All syslog messages are prefixed with: SC[<resourceTypeName>,<resourceGroupName>,<resourceName>,<methodName>
If you specify a debug_level greater than the
current debugging level being used, no information is written.
The DSDL defines the maximum debugging level, SCDS_MAX_DEBUG_LEVEL, as 9. The scds_initialize(3HA)
function, which the calling program must call before scds_syslog_debug(), retrieves the current debugging level from the file: /var/cluster/rgm/rt/<resourceTypeName>/loglevel.
Messages written to the system log are not internationalized.
Do not use gettext() or other message translation functions
in conjunction with this function.
|