MarkLogic 9 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');
var config = admin.getConfiguration()
var newcfg = admin.clusterSetOpsdirectorLogLevel(config, "error")
newcfg
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.