From 2aa0701013f703ad93e17da3345c493c08aa04ee Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 29 Aug 2016 11:45:47 +0200 Subject: common: Add a default socket name feature. * common/logging.c (log_set_socket_dir_cb): New. (socket_dir_cb): New. (set_file_fd): Allow "socket://". (fun_writer): Implement default socket name. * common/init.c (_init_common_subsystems): Register default socket. -- This change allows the use of log-file socket:// in any configuration file. Signed-off-by: Werner Koch --- doc/gpg-agent.texi | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'doc/gpg-agent.texi') diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi index b481dd64b..b890c214b 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -312,11 +312,12 @@ should in general not be used to avoid X-sniffing attacks. @item --log-file @var{file} @opindex log-file @efindex HKCU\Software\GNU\GnuPG:DefaultLogFile -Append all logging output to @var{file}. This is very helpful in seeing -what the agent actually does. If neither a log file nor a log file -descriptor has been set on a Windows platform, the Registry entry -@code{HKCU\Software\GNU\GnuPG:DefaultLogFile}, if set, is used to specify -the logging output. +Append all logging output to @var{file}. This is very helpful in +seeing what the agent actually does. Use @file{socket://} to log to +socket. If neither a log file nor a log file descriptor has been set +on a Windows platform, the Registry entry +@code{HKCU\Software\GNU\GnuPG:DefaultLogFile}, if set, is used to +specify the logging output. @anchor{option --no-allow-mark-trusted} -- cgit v1.2.3