The second argument level should be one of the following: emergency, alert, critical, error, warning, notice, info, config, debug, fine, finer, or finest. The default level is "info".
Cause
The second argument of xdmp:log($msg,$level) level is not specified correctly.
Response
Correct your code.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.