Description. This function is used to set the log category and levels for the cluster log.
Signature.
int ndb_mgm_set_clusterlog_loglevel ( NdbMgmHandlehandle
, intid
, enum ndb_mgm_event_categorycategory
, intlevel
, struct ndb_mgm_reply*reply
)
Parameters. This function takes 5 parameters:
An NdbMgmHandle
.
The id
of the node
affected.
An event category
—
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. (See Section 3.4.4, “The ndb_mgm_reply
Structure”.)
Return value.
In the event of an error, this function returns
-1
.