MarkLogic 9.0.8.2
At present we are using following way to Log/view debug/information/warning/errors in MarkLogic log files
- XDMP:Log in Xquery with log level including within try-catch block
- Application level logs
What are the best practices we should follow for logging and maintaining the same code in dev/ST/UAT/Prod environment.