pacgraph icon indicating copy to clipboard operation
pacgraph copied to clipboard

Warnings and diagnostics sent to stdout instead of stderr

Open Earnestly opened this issue 8 years ago • 0 comments

When redirecting pacgraph -c output the warnings and diagnostics are sent to stdout instead of the expected stderr such that the output file contains messages such as:

Autodetected Arch.
Loading package info
warning: xf86-input-driver found in ['xf86-input-evdev', 'xf86-input-libinput'], assuming xf86-input-evdev
...

Ideally these would be sent to stderr making it easier to parse the output as wanted without needing heuristics to peel away these other messages.

Earnestly avatar Mar 26 '16 19:03 Earnestly