I agree, this kind messages must be suppressed bye default .
En only be displayed on request

-----Oorspronkelijk bericht-----
Van: opendnssec-user-boun...@lists.opendnssec.org 
[mailto:opendnssec-user-boun...@lists.opendnssec.org] Namens Siôn Lloyd
Verzonden: maandag 21 november 2011 16:02
Aan: opendnssec-user@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@lists.opendnssec.org
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
_______________________________________________
Opendnssec-user mailing list
Opendnssec-user@lists.opendnssec.org
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user

Reply via email to