- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 16 Dec 2014 15:45:08 -0600
- To: XProc Dev <xproc-dev@w3.org>
- Message-ID: <87oar36zh7.fsf@nwalsh.com>
Florent Georges <fgeorges@fgeorges.org> writes:
> I looked into the ref doc on the Calabash website, but could not
> find how to set the logging options for Calabash itself. I mean, not
> for the step p:log, but for the logging statements in the Calabash
> Java code itself.
Just point to a logging properties file. For example,
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="warn">
<Appenders>
<Console name="Console" target="SYSTEM_ERR">
<PatternLayout pattern="%-5level: %msg%n" />
</Console>
</Appenders>
<Loggers>
<Logger name="com.xmlcalabash" level="debug" additivity="false">
<AppenderRef ref="Console"/>
</Logger>
<Root level="warn">
<AppenderRef ref="Console" />
</Root>
</Loggers>
</Configuration>
It's all supposed to be bog standard Java logging stuff now. Not
that I couldn't possibly have gotten it wrong.
I added issue #182 to track it.
Be seeing you,
norm
--
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com
Received on Tuesday, 16 December 2014 21:45:38 UTC