admin.taskserverGetFileLogLevel( config as element(configuration), group-id as (Number|String) ) as String
This function returns the value for the file log level configured on the task server for the specified group.
const admin = require('/MarkLogic/admin.xqy'); var config = admin.getConfiguration() admin.taskserverGetFileLogLevel(config, admin.groupGetId(config, "myGroup")) //returns the file log level value
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.