"Can't connect to 'log-socket': Connection refused

Werner Koch wk at gnupg.org
Fri Jun 6 14:32:41 CEST 2025


On Thu,  5 Jun 2025 21:14, aslamK said:

> However, if 'log-file' is set in gpg.conf, then the following does not
> override it; the output is written to the log-file but not to stderr:
>
> 	gpg --logger-fd 2 --verify file_to_verify.sig

I guess file descriptor 2 has already been redirected and is no longer
stderr inside the gpg process.  On Linux and someother OSes you may use

  --log-file /dev/stderr



Shalom-Salam,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250606/16e282f1/attachment.sig>


More information about the Gnupg-users mailing list