Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

MySQL NDB Cluster API Developer Guide  /  ...  /  ndb_mgm_get_clusterlog_loglevel() ndb_mgm_get_clusterlog_loglevel()

Description.  This function is used to obtain log category and level information, and is thread-safe.


int ndb_mgm_get_clusterlog_loglevel
      NdbMgmHandle handle,
      struct ndb_mgm_loglevel* loglevel,
      unsigned int size

Parameters.  ndb_mgm_get_clusterlog_loglevel() takes the following parameters:

  • A management handle (NdbMgmHandle).

  • A loglevel (log level) vector consisting of twelve elements, each of which is an ndb_mgm_loglevel structure and which represents a log level of the corresponding category.

  • The size of the vector (MGM_LOGLEVELS).

Return value.  This function returns the number of returned loglevels or -1 in the event of an error.