Page 1 of 1

Xproc (calabash) : how to change the p:log type?

Posted: Thu Nov 14, 2013 5:40 pm
by ojeulin
Hi,

when I execute an XProc pipeline with the default processor (calabash) in oXygen exitor, the output of p:log uses the type "wrapped".
E.g.:

Code: Select all

<px:document-sequence xmlns:px="http://xmlcalabash.com/ns/document-sequence" port="result"
xpl-file="file:/.../xxx.xpl"
xpl-line="81" dateTime="2013-11-14T13:29:53+01:00">
<px:document>
...
How can I change the logging type to "plain", "directory" or "off"?
http://xmlcalabash.com/docs/reference/c ... style.html says nothing about a config through the XML config file...

Re: Xproc (calabash) : how to change the p:log type?

Posted: Fri Dec 13, 2013 12:34 pm
by adrian
Hi,

To set a custom configuration for the Calabash used by Oxygen, you should name the file with the configuration calabash.config and place it in: Oxygen\lib\xproc\calabash
See details here:
oXygen User Manual - XProc Engines Preferences

However, I can't seem to find anything about how the log style is specified in this configuration file. This is Calabash specific and its documentation doesn't mention it.

Regards,
Adrian

Re: Xproc (calabash) : how to change the p:log type?

Posted: Fri Dec 13, 2013 1:26 pm
by ojeulin
Thanks for your response.
Yes I found this configuration file, and there don't seem to be any way to change the format of the log. But it is doable, because there's a command line flag for that.
So, I'll ask Norman if he can add an option in the XML config file.

Re: Xproc (calabash) : how to change the p:log type?

Posted: Fri Dec 13, 2013 5:19 pm
by ojeulin

Re: Xproc (calabash) : how to change the p:log type?

Posted: Mon Dec 16, 2013 5:56 pm
by adrian
Hi,

We update the XML Calabash libraries in each new version of Oxygen, so this will be included in a future version of Oxygen.

Regards,
Adrian