Home GnuPG
Diffusion GnuPG de623474db3b

dirmngr: Exclude D lines from the IPC debug output.
de623474db3bUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Exclude D lines from the IPC debug output.

* dirmngr/dirmngr.h: Include asshelp.h.
* dirmngr/server.c (server_local_s): Add inhibit_dara_logging fields.
(data_line_write): Implement logging inhibit.
(data_line_cookie_close): Print non-logged D lines.
(cmd_wkd_get, cmd_ks_get, cmd_ks_fetch): Do not log D lines.
(dirmngr_assuan_log_monitor): New.
* dirmngr/dirmngr.c (main): Register monitor function.

In particular with large keys the D lines clutter the log output and
make it unusable.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 5 2016, 12:50 PM
Parents
rG0ac671f8a2b6: common: Add an assuan logging monitor.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGde623474db3b: dirmngr: Exclude D lines from the IPC debug output. (authored by Werner Koch <wk@gnupg.org>).Sep 5 2016, 1:06 PM