Description. This function is used to retrieve the cluster log severity filter currently in force.
int ndb_mgm_get_clusterlog_severity_filter ( NdbMgmHandle handle, struct ndb_mgm_severity* severity, unsigned int size )
severityof seven (
NDB_MGM_EVENT_SEVERITY_ALL) elements, each of which is an
ndb_mgm_severitystructure, where each element contains
1if a severity indicator is enabled and
0if not. A severity level is stored at position
ndb_mgm_clusterlog_level; for example the error level is stored at position
NDB_MGM_EVENT_SEVERITY_ERROR. The first element (position
NDB_MGM_EVENT_SEVERITY_ON) in the vector signals whether the cluster log is disabled or enabled.
sizeof the vector (
The number of returned severities, or
in the event of an error.