Some DITA-OT errors (like DOTJ046E) do not show up on GitHub Action in the log as expected #4462
-
Hi, I'm publishing with GitHub Actions with non-verbose logging and capture the logging info with I am using this command: run: dita-ot/bin/dita --project=my-docs.xml --processing-mode=lax --store-type=file --parallel=true --conserve-memory=true -Ddita.preprocess.reloadstylesheet=false -Dskip.pdf=true -Dgenerate-debug-attributes=false --no-color | tee my-docs.log However, some errors, e.g. The line is simply missing in the log. I have no idea why. Do you have an idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Some shells provide a pipe shortcut to include standard error (e.g. |
Beta Was this translation helpful? Give feedback.
tee
will only redirect standard out. Try redirecting standard error into standard out and then usetee
as before. So… 2>&1 | tee …