aboutsummaryrefslogtreecommitdiffstats
path: root/doc/tools.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-08-29 09:45:47 +0000
committerWerner Koch <[email protected]>2016-08-29 09:51:00 +0000
commit2aa0701013f703ad93e17da3345c493c08aa04ee (patch)
tree42e9b6da0d5cc00e5d3c2a9ec6c34a8f4d5659de /doc/tools.texi
parentgpg: Make decryption of -R work w/o --try-secret-key or --default-key. (diff)
downloadgnupg-2aa0701013f703ad93e17da3345c493c08aa04ee.tar.gz
gnupg-2aa0701013f703ad93e17da3345c493c08aa04ee.zip
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 <[email protected]>
Diffstat (limited to 'doc/tools.texi')
-rw-r--r--doc/tools.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/tools.texi b/doc/tools.texi
index d6cf56ee4..18f5d77e0 100644
--- a/doc/tools.texi
+++ b/doc/tools.texi
@@ -103,12 +103,14 @@ This waits for connections on the local socket
@file{/home/foo/.gnupg/S.log} and shows all log entries. To make this
work the option @option{log-file} needs to be used with all modules
which logs are to be shown. The value for that option must be given
-with a special prefix (e.g. in the conf file):
+with a special prefix (e.g. in the conf files):
@example
log-file socket:///home/foo/.gnupg/S.log
@end example
+If only @code{socket://} is used a default socket file named
+@file{S.log} in the standard socket directory is used.
For debugging purposes it is also possible to do remote logging. Take
care if you use this feature because the information is send in the
clear over the network. Use this syntax in the conf files:
@@ -1737,8 +1739,8 @@ Try to be as quiet as possible.
@item --log-file @var{file}
@opindex log-file
-Append all logging output to @var{file}. Default is to write logging
-information to STDERR.
+Append all logging output to @var{file}. Use @file{socket://} to log
+to socket. Default is to write logging information to STDERR.
@end table