[Opendnssec-user] supress output
Bas van den Dikkenberg
bas at dikkenberg.net
Mon Nov 21 18:27:54 UTC 2011
I agree, this kind messages must be suppressed bye default .
En only be displayed on request
-----Oorspronkelijk bericht-----
Van: opendnssec-user-bounces at lists.opendnssec.org [mailto:opendnssec-user-bounces at lists.opendnssec.org] Namens Siôn Lloyd
Verzonden: maandag 21 november 2011 16:02
Aan: opendnssec-user at lists.opendnssec.org
Onderwerp: Re: [Opendnssec-user] supress output
On 16/11/11 09:00, Rickard Bellgrim wrote:
>> But it is not an error message, so we should change that for future
>> releases.
> The convention of the ods-ksmutil is to write informative information
> to stderr and the command output to stdout. This is so that you can
> redirect the intended output to its own file without having the extra
> information.
>
I think that stderr is better as it stops the contamination of redirects, as Rickard says.
I have though wrapped up the print statements so that they only get used if the "-v" flag is present.
Sion
_______________________________________________
Opendnssec-user mailing list
Opendnssec-user at lists.opendnssec.org
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
More information about the Opendnssec-user
mailing list