codefori / codefori/vscode-ibmi
Option to suppress the job log in the compile Output channel (keep spool, hide job log)
- Dominant language
- TypeScript
- Stars
- 418
- Forks
- 160
- Avg merge
- 4d 19h
- Merged PRs (30d)
- 12
Description
Goodmorning,
Currently, when running a compile Action with logCompileOutput enabled, the "IBM i Output" / Compile Log channel shows both the compile spool file (the compiler listing), routed to stdout, and the job log messages, fetched via QSYS2.JOBLOG_INFO and routed to stderr.
Looking at CompileTools.ts, the job log is always captured and displayed (minus the hardcoded HIDE_MESSAGE_IDS filter), while the spool is gated by the logCompileOutput setting. This means there is no way to keep the compile spool while hiding the job log:
- logCompileOutput = true → spool and job log
- logCompileOutput = false → no spool, but the job log still appears
What I'd like:
The compile listing (spool) is what I care about for diagnosing build results; the job log just adds noise to the Output panel on every compile, especially on failures. I'd like a way to keep the spool but suppress (or reduce) the job log.
Possible approaches (any one would work):
- A new setting, e.g. code-for-ibmi.showJobLogInOutput (boolean), to toggle whether the job log is appended to the Output channel, independently from logCompileOutput.
- Or, make HIDE_MESSAGE_IDS user-configurable so we can filter out the message IDs we don't want.
- Or, a tri-state for compile output: none / spool only / spool + job log.
Why it matters:
It keeps the Output panel focused on the actual compiler listing, which is the relevant artifact for most compile workflows, and avoids scrolling past job log noise on every build.
Thanks for the great extension!
Contributor guide
Assessment
This issue has not been assessed yet.