xdmp.logFlush() as null
Flush the log of the specific app server error log file.
xdmp.logFlush();
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.