
MarkLogic 10 Product Documentation
admin.clusterSetOpsdirectorLogLeveladmin.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');
const config = admin.getConfiguration()
const newcfg = admin.clusterSetOpsdirectorLogLevel(config, "error")
  newcfg
    
  
    Copyright © 2025 MarkLogic Corporation. MARKLOGIC is a
    registered trademark of MarkLogic Corporation.