MarkLogic 9 Product Documentation
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

    
Powered by MarkLogic Server | Terms of Use | Privacy Policy