errors go to output stream instead of STDERR
Brought to you by:
hvhaugwitz,
rvdb
In our environment the output from init/compare/report must
go to STDOUT and will be processed later. Unfortunately any
errors go to the normal output stream tee and clobber
it up,
causing problems.
The attached patches, which take care of the problem in our
environment, rename the error routine orierror and create a
new error routine which sends error mesages to STDERR. The
calls to error in compare_db.c, which do not output
errors but
normal messages expected from compare, are adapted to
use orierror.
Please use the patches with care, I'm not familiar with
C. I
only know they do for us what we want them to do.
Logged In: YES
user_id=330646
I like the idea of seperating "normal" output and errors,
but with -V255 everything is considered "normal" since you
asked for it.
Perhaps we should check which calls to error() are actually
errors, and which are informational messages requested by
setting the verbosity level.
fixed (commit fd333074c5b084e1a363a15df23d355b784492df)