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 <wk@gnupg.org>