daisy / daisy/pipeline-modules-common
Messages with severity="DEBUG" are not output through the Web API
- Dominant language
- HTML
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
The [code for `px:message`](https://github.com/daisy/pipeline-modules-common/blob/master/common-utils/src/main/java/org/daisy/common/xproc/calabash/steps/Message.java) is essentially this:
``` java
public void run() throws SaxonApiException {
String severity = getOption(_severity, "INFO");
String message = getOption(_message, (String)null);
if ("WARN".equals(severity)) {
warning(this.step.getNode(), message);
} else if ("DEBUG".equals(severity)) {
// DefaultStep#fine() removed in ndw/xmlcalabash1@ce9b07d
this.runtime.getMessageListener().fine(this,this.step.getNode(), message);
} else {
info(this.step.getNode(), message);
}
```
The DEBUG messages are for some reason not included in the job XMLs `` section.
@capitancambio maybe you have an idea why this is? They appear in the detailed log.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.