Skip to content

Add --trace-redirect parameter to redirect trace output to a file

Artalus requested to merge Artalus/cmake:trace-redirect into master

Trace is a great tool, but it is extremely verbose. We use tracing rather often by redirecting it to a file like 2>trace.log - but that completely hides the whole stderr, including meaningful errors that should stay on the screen or in CI logs. Having an option to cleanly redirect trace into a file would greatly help.

Merge request reports