Closed paddg closed 1 month ago
This should be consistent for all products.
Fixing this requires some plumbing in showProductVersion()
and friends, which now are hardcoded to use logging, which used the C++ stream clog
, which is sent to stderr
.
Fixed in #14518
Thank you!
[x] I have read and understood the 'out in the open' support policy
Short description
pdns_server --version
writes its output to STDERR. In my opinion this is wrong because there is no error. It is also not consistent with dnsdist and Recursor.Environment
Steps to reproduce
does not show anything, which is wrong.
Expected behaviour
It would be nice if
pdns_server --version
would write to STDOUT instead of STDERRActual behaviour
pdns_server --version
writes to STDERR