Need to distinguish between g10_log_info and g10_log_error

Oleg V. Zhylin ovz at yahoo.com
Fri Sep 26 19:25:39 CEST 2008


Thanks for clearning this out. Looks like by status fd is 1 by default which is fine with me. As I've mentioned, my goal was to keep stderr strictly for error, so redirection of logger fd solved the issue.

WBR Oleg V. Zhylin   ovz at yahoo.com


--- On Fri, 9/26/08, Werner Koch <wk at gnupg.org> wrote:

> From: Werner Koch <wk at gnupg.org>
> Subject: Re: Need to distinguish between g10_log_info and g10_log_error
> To: ovz at yahoo.com
> Cc: gnupg-devel at gnupg.org
> Date: Friday, September 26, 2008, 1:41 PM
> On Fri, 26 Sep 2008 12:20, ovz at yahoo.com said:
> 
> > Actually, --logger-fd did the job for me. I'm ok
> with status messages and as I understood from the sources
> logger was the source of messages on stderr. Does any
> --status-fd output goes to stderr?
> 
> Sure, if you use
> 
>   --status-fd 2 
> 
> it will go to stderr.
> 
> 
> Shalom-Salam,
> 
>    Werner
> 
> -- 
> Linux-Kongress 2008 + Hamburg + October 7-10 +
> www.linux-kongress.org
> 
>    Die Gedanken sind frei.  Auschnahme regelt ein
> Bundeschgesetz.


      



More information about the Gnupg-devel mailing list