
admin.appserverGetFileLogLevel( config as element(configuration), appserver-id as (Number|String) ) as String
This function returns the value for the file log level configured for a specified App Server.
const admin = require('/MarkLogic/admin.xqy');
const config = admin.getConfiguration()
const groupid = admin.groupGetId(config, "Default")
admin.appserverGetFileLogLevel(config,
admin.appserverGetId(config, groupid, "myAppServer"))
//returns the file log level value
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.