You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
What do you think about doing something along the lines of what's below? Unfortunately it doesn't look like you can set the log levels using the REST API but it's easily done in the admin console.
declare variable $DEBUG-LEVELS := ("finest","finer","fine","debug");
declare variable $DEBUG := xdmp:log-level() = $DEBUG-LEVELS;
...
let $_ := if ($DEBUG) then xdmp:trace("marklogicworkflow.actions", "Running Action 1") else ()
prefix all trace events with the name of your app (which presumably is or can be shortened to an acronym). Just helps make it obvious that you own them and they’re specific to your app.
define all of your trace events as constants in an sjs/xqy library.
documentation: can always set trace events via the command line so you don’t have to click click click around the Admin UI:
To support multiple log levels
The text was updated successfully, but these errors were encountered: