[MarkLogic Dev General] Specify log level for call to <xsl:message>?

Danny Sokolsky Danny.Sokolsky at marklogic.com
Fri Feb 3 11:37:22 PST 2012


Hi David,

Why not just call xdmp:log from within your xslt instead?

-Danny

-----Original Message-----
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of David Sewell
Sent: Friday, February 03, 2012 11:29 AM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] Specify log level for call to <xsl:message>?

xdmp:log() takes as an optional argument a string specifying the log level (like 
"info", "notice", etc.).

When processing XSLT, MarkLogic writes the value of <xsl:message> to the 
logfile, using the default level "info". That's a problem if someone wants to 
change server configuration to set the minimum log level to a higher priority 
(to avoid the zillions of messages about database merges, etc.)

Is there any way to change the log level of <xsl:message> output?

If not, maybe grounds for a feature request, for an extension attribute on 
<xsl:message> to accomplish this?

David

-- 
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 400314, Charlottesville, VA 22904-4314 USA
Email: dsewell at virginia.edu   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
_______________________________________________
General mailing list
General at developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


More information about the General mailing list