Loading TOC...

admin.clusterSetOpsdirectorLogLevel

admin.clusterSetOpsdirectorLogLevel(
   config as element(configuration),
   value as String
) as element(configuration)

Summary

This function sets Ops Director log level of the managed cluster.

Parameters
config A configuration specification, typically as returned from one of the Admin module functions.
value The logging level: "emergency", "alert", "critical", "error", "warning", "notice", etc.

Example

 
const admin = require('/MarkLogic/admin.xqy');
var config = admin.getConfiguration()
var newcfg = admin.clusterSetOpsdirectorLogLevel(config, "error")
  newcfg

    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.