Description. This function is used to set the log category and levels for the cluster log.
Signature.
int ndb_mgm_set_clusterlog_loglevel
(
NdbMgmHandle handle,
int id,
enum ndb_mgm_event_category category,
int level,
struct ndb_mgm_reply* reply)
Parameters. This function takes 5 parameters:
An NdbMgmHandle.
The id of the node affected.
An event categorymdash;this is
one of the values listed in
Section 3.3.7, “The ndb_mgm_event_category Type” .
A logging level.
A pointer to an
ndb_mgm_reply structure
for the reply message.
Return value.
In the event of an error, this function returns
-1.