diff options
| author | Werner Koch <[email protected]> | 2023-02-10 11:11:56 +0100 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2023-02-10 11:12:52 +0100 |
| commit | 9c5506fde701f637381614dcfe22e3f9dc82955d (patch) | |
| tree | 26ec1a81f54c0d02fb33ddcd6f3be27c0035f282 /doc | |
| parent | core: Update copyright notices (diff) | |
| download | gpgme-9c5506fde701f637381614dcfe22e3f9dc82955d.tar.gz gpgme-9c5506fde701f637381614dcfe22e3f9dc82955d.zip | |
core: Switch to logging via gpgrt
* src/debug.c (errfp): Remove.
(debug_init): Factor some code out to ...
(safe_to_use_debug_file): new.
(tid_log_callback): New.
(debug_init): Rewrite to make use of gpgrt logging.
(_gpgme_debug): Ditto.
(_gpgme_debug_end): Remove extra LF testing code.
* src/dirinfo.c (get_gpgconf_item): Remove now unneeded LFs. Realign
output.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/gpgme.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 54b7e89b..606d13bb 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -7935,6 +7935,15 @@ reveal sensitive details like passphrases or other data you use in your application. If you are asked to send a log file, make sure that you run your tests only with play data. +The trace function makes use of gpgrt's logging function and thus the +special @file{socket://} and @file{tcp://} files may be used. Because +this conflicts with the use of colons to separate fields, the following +hack is used: If the file name contains the string @code{^//} all +carets are replaced by colons. For example to log to TCP port 42042 +this can be used: +@smallexample +GPGME_DEBUG=5:tcp^//127.0.0.1^42042 +@end smallexample @node Deprecated Functions @appendix Deprecated Functions |
