
admin:cluster-set-opsdirector-log-level( $config as element(configuration), $value as xs:string ) as element(configuration)
This function sets Ops Director log level of the managed cluster.
xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin"
at "/MarkLogic/admin.xqy";
let $config := admin:get-configuration()
let $newcfg := admin:cluster-set-opsdirector-log-level($config, "error")
return
$newcfg
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.