diff --git a/exist-core/src/main/java/org/exist/xquery/pragmas/TimePragma.java b/exist-core/src/main/java/org/exist/xquery/pragmas/TimePragma.java index 90452a3d333..5a9d29a8ee2 100644 --- a/exist-core/src/main/java/org/exist/xquery/pragmas/TimePragma.java +++ b/exist-core/src/main/java/org/exist/xquery/pragmas/TimePragma.java @@ -58,7 +58,7 @@ * } * * The following optional configuration options may be given to the Time Pragma via the pragma's contents: - * * verbose - Set to 'yes' if you want the associated expression to be logged to. + * * verbose - Set to 'true' if you want the associated expression to be logged to. You may also use 'yes' instead of 'true' but its use is deprecated and may be removed in the future. * * logger-name - The name of the logger to use, if omitted the logger for {@link TimePragma} will be used. * * logging-level - The Slf4j level at which the timing should be logged, e.g. Trace, Debug, Info, Warn, Error, etc. If omitted this defaults to 'Trace' level. * * log-message-prefix - An optional prefix to append to the start of the log message to help you identify it. @@ -339,7 +339,7 @@ private static Options parseOptions(@Nullable final String contents) throws XPat switch (param[0]) { case "verbose": - verbose = "yes".equals(param[1]); + verbose = "true".equals(param[1]) || "yes".equals(param[1]); break; case "logger-name":