admin.clusterSetOpsdirectorLogLevel( config as element(configuration), value as String ) as element(configuration)
This function sets Ops Director log level of the managed cluster.
const admin = require('/MarkLogic/admin.xqy'); var config = admin.getConfiguration() var newcfg = admin.clusterSetOpsdirectorLogLevel(config, "error") newcfg
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.