|
|
|
@ -1273,13 +1273,13 @@ ndb_mgm_get_clusterlog_severity_filter(NdbMgmHandle handle, |
|
|
|
MGM_ARG(clusterlog_severity_names[5], Int, Mandatory, ""), |
|
|
|
MGM_ARG(clusterlog_severity_names[6], Int, Mandatory, ""), |
|
|
|
}; |
|
|
|
CHECK_HANDLE(handle, NULL); |
|
|
|
CHECK_CONNECTED(handle, NULL); |
|
|
|
CHECK_HANDLE(handle, -1); |
|
|
|
CHECK_CONNECTED(handle, -1); |
|
|
|
|
|
|
|
Properties args; |
|
|
|
const Properties *reply; |
|
|
|
reply = ndb_mgm_call(handle, getinfo_reply, "get info clusterlog", &args); |
|
|
|
CHECK_REPLY(reply, NULL); |
|
|
|
CHECK_REPLY(reply, -1); |
|
|
|
|
|
|
|
for(unsigned int i=0; i < severity_size; i++) { |
|
|
|
reply->get(clusterlog_severity_names[severity[i].category], &severity[i].value); |
|
|
|
@ -1430,13 +1430,13 @@ ndb_mgm_get_clusterlog_loglevel(NdbMgmHandle handle, |
|
|
|
MGM_ARG(clusterlog_names[10], Int, Mandatory, ""), |
|
|
|
MGM_ARG(clusterlog_names[11], Int, Mandatory, ""), |
|
|
|
}; |
|
|
|
CHECK_HANDLE(handle, NULL); |
|
|
|
CHECK_CONNECTED(handle, NULL); |
|
|
|
CHECK_HANDLE(handle, -1); |
|
|
|
CHECK_CONNECTED(handle, -1); |
|
|
|
|
|
|
|
Properties args; |
|
|
|
const Properties *reply; |
|
|
|
reply = ndb_mgm_call(handle, getloglevel_reply, "get cluster loglevel", &args); |
|
|
|
CHECK_REPLY(reply, NULL); |
|
|
|
CHECK_REPLY(reply, -1); |
|
|
|
|
|
|
|
for(int i=0; i < loglevel_count; i++) { |
|
|
|
reply->get(clusterlog_names[loglevel[i].category], &loglevel[i].value); |
|
|
|
|